1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-01 20:22:19 +00:00
i2pd/libi2pd_client/Websocket.h
2018-01-06 22:24:03 +08:00

29 lines
378 B
C++

#ifndef WEBSOCKET_H__
#define WEBSOCKET_H__
#include "Event.h"
namespace i2p
{
namespace event
{
class WebsocketServerImpl;
class WebsocketServer
{
public:
WebsocketServer(const std::string & addr, int port);
~WebsocketServer();
void Start();
void Stop();
EventListener * ToListener();
private:
WebsocketServerImpl * m_impl;
};
}
}
#endif