add web socket ui

This commit is contained in:
Jeff Becker 2016-10-20 09:12:15 -04:00
parent 3d4e2a275c
commit b4e9ed7d18
15 changed files with 322 additions and 9 deletions

30
Websocket.h Normal file
View file

@ -0,0 +1,30 @@
#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