add initial WebSOCKS implementation

This commit is contained in:
Jeff Becker 2016-12-09 15:36:38 -05:00
parent d0e9fe1e3e
commit 0d83a34cfd
6 changed files with 458 additions and 2 deletions

27
WebSocks.h Normal file
View file

@ -0,0 +1,27 @@
#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