WebSocketConnection

Base class for web socket clients.

Constructors

this
this()
Undocumented in source.

Members

Functions

onClose
void onClose()

Notifies that the connection has been interrupted.

onRead
void onRead()
Undocumented in source. Be warned that the author may not have intended to support it.
onReceive
void onReceive(ubyte[] data)

Notifies that the client has sent some data.

onStart
void onStart()
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send(void[] data)

Sends data to the connected web socket.

Variables

onStartImpl
void delegate() onStartImpl;
Undocumented in source.

Inherited Members

From Connection

conn
AsyncTCPConnection conn;
Undocumented in source.
buffer
Buffer buffer;
Undocumented in source.
onStart
void onStart()
Undocumented in source. Be warned that the author may not have intended to support it.
log
bool log;
Undocumented in source.
handle
void handle(TCPEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
onRead
void onRead()
Undocumented in source.
onClose
void onClose()
Undocumented in source.

Meta