|
enum | ServerType { HTTPS,
HTTP,
WebSockets
} |
|
|
static std::string | getBaseURL (ServerType type=HTTP) |
|
static HTTPServer * | getInstance (unsigned short port, unsigned short wsPort, SSLConfig *sslConf=NULL) |
|
static HTTPServer * | getInstance () |
|
static bool | registerServlet (const std::string &path, HTTPServlet *servlet) |
| Register a servlet, returns false if path is already taken.
|
|
static bool | registerServlet (const std::string &path, WebSocketServlet *servlet) |
| Register a servlet, returns false if path is already taken.
|
|
static void | reply (const Reply &reply) |
|
static void | unregisterServlet (HTTPServlet *servlet) |
|
static void | unregisterServlet (WebSocketServlet *servlet) |
|
static void | wsBroadcast (const char *uri, enum evws_opcode opcode, const char *data, uint64_t length) |
|
static void | wsSend (struct evws_connection *conn, enum evws_opcode opcode, const char *data, uint64_t length) |
|
|
class | HTTPServlet |
|
class | WebSocketServlet |
|
The documentation for this class was generated from the following files: