appbase.listener

Undocumented in source.

Members

Aliases

RequestCallback
alias RequestCallback = void function(TcpClient, const scope ubyte[])
Undocumented in source.

Functions

startServer
deprecated void startServer(ushort port, int businessThreads, ushort protocolMagic, RequestCallback onRequest, OnSendCompleted onSendCompleted)
Undocumented in source. Be warned that the author may not have intended to support it.
startServer
void startServer(ushort port, ushort protocolMagic, RequestCallback onRequest, OnSendCompleted onSendCompleted, int businessThreads, int workerThreads)
Undocumented in source. Be warned that the author may not have intended to support it.
startServer
void startServer(string host, ushort port, ushort protocolMagic, RequestCallback onRequest, OnSendCompleted onSendCompleted, int businessThreads, int workerThreads)
Undocumented in source. Be warned that the author may not have intended to support it.
stopServer
void stopServer()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta