mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
352 B
28 lines
352 B
8 years ago
|
#ifndef WEBSOCKS_H_
|
||
|
#define WEBSOCKS_H_
|
||
|
#include <string>
|
||
|
|
||
|
namespace i2p
|
||
|
{
|
||
|
namespace client
|
||
|
{
|
||
|
|
||
|
class WebSocksImpl;
|
||
|
|
||
|
/** @brief websocket socks proxy server */
|
||
|
class WebSocks
|
||
|
{
|
||
|
public:
|
||
|
WebSocks(const std::string & addr, int port);
|
||
|
~WebSocks();
|
||
|
|
||
|
void Start();
|
||
|
void Stop();
|
||
|
|
||
|
private:
|
||
|
WebSocksImpl * m_Impl;
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
#endif
|