mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-06 03:20:33 +00:00
4cc3b7f9fb
libi2pd for core libs libi2pd_client for i2pd client libs daemon for i2pd daemon libs
29 lines
383 B
C++
29 lines
383 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
|