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.

29 lines
378 B

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