|
Anklang-0.3.0.dev551+gad1415e2 anklang-0.3.0.dev551+gad1415e2
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Public Types | |
| using | MakeConnection = std::function< WebSocketConnectionP(WebSocketConnection::Internals &, int)> |
| using | UnlistenCB = std::function< void()> |
Public Member Functions | |
| virtual void | http_dir (const String &path)=0 |
| virtual void | http_alias (const String &webdir, const String &path)=0 |
| virtual String | map_url (const String &urlpath)=0 |
| virtual int | listen_port () const =0 |
| virtual std::string | url () const =0 |
| virtual void | listen (const String &host="", int port=0, const UnlistenCB &={})=0 |
| virtual void | reset ()=0 |
| virtual void | shutdown ()=0 |
| virtual void | see_other (const String &uri)=0 |
Public Member Functions inherited from std::enable_shared_from_this< WebSocketServer > | |
| T | enable_shared_from_this (T... args) |
| T | operator= (T... args) |
| T | shared_from_this (T... args) |
| T | weak_from_this (T... args) |
| T | ~enable_shared_from_this (T... args) |
Static Public Member Functions | |
| static WebSocketServerP | create (const MakeConnection &make, int logflags=0, const std::string &session_token="") |
| static String | user_agent () |
| static String | mime_type (const String &ext, bool utf8) |
| static bool | utf8_validate (const std::string &utf8string) |
| Validate UTF-8 string with websocketpp::utf8_validator. | |
Static Protected Member Functions | |
| static WebSocketConnection::Internals & | internals (WebSocketConnection &c) |
Definition at line 42 of file websocket.hh.
| using Ase::WebSocketServer::MakeConnection = std::function<WebSocketConnectionP (WebSocketConnection::Internals&, int)> |
Definition at line 47 of file websocket.hh.
| using Ase::WebSocketServer::UnlistenCB = std::function<void ()> |
Definition at line 48 of file websocket.hh.
|
protectedvirtual |
Definition at line 600 of file websocket.cc.
|
static |
Definition at line 604 of file websocket.cc.
|
staticprotected |
Definition at line 44 of file websocket.hh.
Definition at line 625 of file websocket.cc.
|
static |
Definition at line 610 of file websocket.cc.
|
static |
Validate UTF-8 string with websocketpp::utf8_validator.
Definition at line 617 of file websocket.cc.