i2pd/WebSocks.h

28 lines
352 B
C
Raw Normal View History

2016-12-09 23:36:38 +03:00
#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