A base class for websocket connection. More...
Public Member Functions | |
virtual void | send_binary (const std::string &msg)=0 |
virtual void | send_text (const std::string &msg)=0 |
virtual void | send_ping (const std::string &msg)=0 |
virtual void | send_pong (const std::string &msg)=0 |
virtual void | close (const std::string &msg="quit")=0 |
virtual std::string | get_remote_ip ()=0 |
virtual | ~connection () |
void | userdata (void *u) |
void * | userdata () |
Private Attributes | |
void * | userdata_ |
A base class for websocket connection.
|
inlinevirtual |
|
pure virtual |
Implemented in crow::websocket::Connection< Adaptor >.
|
pure virtual |
Implemented in crow::websocket::Connection< Adaptor >.
|
pure virtual |
Implemented in crow::websocket::Connection< Adaptor >.
|
pure virtual |
Implemented in crow::websocket::Connection< Adaptor >.
|
pure virtual |
Implemented in crow::websocket::Connection< Adaptor >.
|
pure virtual |
Implemented in crow::websocket::Connection< Adaptor >.
|
inline |
|
inline |
|
private |