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.
29 lines
383 B
29 lines
383 B
8 years ago
|
#ifndef WEBSOCKET_H__
|
||
|
#define WEBSOCKET_H__
|
||
|
#include "Event.h"
|
||
|
namespace i2p
|
||
|
{
|
||
8 years ago
|
namespace event
|
||
|
{
|
||
8 years ago
|
|
||
8 years ago
|
class WebsocketServerImpl;
|
||
|
|
||
|
class WebsocketServer
|
||
|
{
|
||
|
public:
|
||
|
WebsocketServer(const std::string & addr, int port);
|
||
|
~WebsocketServer();
|
||
8 years ago
|
|
||
8 years ago
|
void Start();
|
||
|
void Stop();
|
||
8 years ago
|
|
||
8 years ago
|
EventListener * ToListener();
|
||
|
|
||
|
private:
|
||
|
WebsocketServerImpl * m_impl;
|
||
|
};
|
||
8 years ago
|
|
||
8 years ago
|
}
|
||
8 years ago
|
}
|
||
|
#endif
|