#include "websocket.hh"
Classes | |
struct | Info |
struct | Internals |
Public Member Functions | |
virtual void | closed () |
virtual void | failed () |
virtual void | http_request () |
bool | is_open () const |
virtual void | log (const String &message) |
virtual void | message (const String &message) |
String | nickname () |
virtual void | opened () |
bool | send_binary (const String &blob) |
bool | send_text (const String &message) |
virtual int | validate () |
Protected Member Functions | |
Info | get_info () |
WebSocketConnection (Internals &internals, int logflags) | |
virtual | ~WebSocketConnection ()=0 |
Protected Attributes | |
const int | logflags_ |
|
protectedpure virtual |
|
explicitprotected |
|
protected |
bool is_open | ( | ) | const |
String nickname | ( | ) |
|
virtual |
Return true to allow opened().
|
virtual |
Never folloed by opened().
|
virtual |
Pairs with closed().
|
virtual |
Only if opened.
|
virtual |
Only if opened.
|
virtual |
Pairs with opened().
|
virtual |
bool send_text | ( | const String & | message | ) |
Returns true if text message was sent.
bool send_binary | ( | const String & | blob | ) |
Returns true if binary blob was sent.
|
protected |