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.
30 lines
423 B
30 lines
423 B
#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
|
|
|