WSRPCServer

Undocumented in source.

Constructors

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

Members

Aliases

AllActions
alias AllActions = Filter!(isCallable, getSymbolsWith!(Action, modules))
Undocumented in source.

Functions

handleRequest
void handleRequest(WSRequest req)
Undocumented in source. Be warned that the author may not have intended to support it.
initWorkers
void initWorkers(uint n)
Undocumented in source. Be warned that the author may not have intended to support it.
mainLoop
noreturn mainLoop()
Undocumented in source. Be warned that the author may not have intended to support it.
onBinaryMessage
void onBinaryMessage(WSClient src, const(ubyte)[] msg)
Undocumented in source. Be warned that the author may not have intended to support it.

Imports

Request (from dast.ws)
public import dast.ws : Request;
Undocumented in source.

Variables

queue
LFQ queue;
Undocumented in source.

Inherited Members

From WSServer

handlers
ReqHandler[] handlers;
Undocumented in source.
settings
ServerSettings settings;
Undocumented in source.
connections
uint connections;
Undocumented in source.
run
void run()
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.
onClose
void onClose(WSClient )
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.
onBinaryMessage
void onBinaryMessage(WSClient , const(ubyte)[] )
Undocumented in source. Be warned that the author may not have intended to support it.
add
bool add(TCPClient client)
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.
performHandshake
bool performHandshake(WSClient client, ubyte[] msg, Request req)
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.

Meta