WSServer

Undocumented in source.

Constructors

this
this(AddrFamily family)
Undocumented in source.
this
this(EventLoop loop, AddrFamily family)
Undocumented in source.

Members

Functions

add
bool add(TCPClient client)
Undocumented in source. Be warned that the author may not have intended to support it.
onBinaryMessage
void onBinaryMessage(WSClient , const(ubyte)[] )
Undocumented in source. Be warned that the author may not have intended to support it.
onClose
void onClose(WSClient )
Undocumented in source. Be warned that the author may not have intended to support it.
onOpen
void onOpen(WSClient , Request )
Undocumented in source. Be warned that the author may not have intended to support it.
onTextMessage
void onTextMessage(WSClient , string )
Undocumented in source. Be warned that the author may not have intended to support it.
performHandshake
bool performHandshake(WSClient client, ubyte[] msg, Request req)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(WSClient client)
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.
use
void use(ReqHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

connections
uint connections;
Undocumented in source.
handlers
ReqHandler[] handlers;
Undocumented in source.
settings
ServerSettings settings;
Undocumented in source.

Meta