WsConnectionEventHandler

Undocumented in source.

Constructors

this
this(string attribute)
Undocumented in source.

Members

Aliases

CloseConnCallBack
alias CloseConnCallBack = void delegate(ConnectBase connection)
Undocumented in source.
ConnCallBack
alias ConnCallBack = void delegate(ConnectBase connection)
Undocumented in source.
MsgCallBack
alias MsgCallBack = void delegate(WebSocketConnection connection, Frame message)
Undocumented in source.

Functions

onConnect
void onConnect(WebSocketConnection webSocketConnection)
Undocumented in source. Be warned that the author may not have intended to support it.
onError
void onError(Exception t, WebSocketConnection connection)
Undocumented in source. Be warned that the author may not have intended to support it.
onFrame
void onFrame(Frame frame, WebSocketConnection conn)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnClosed
void setOnClosed(CloseConnCallBack callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnConnection
void setOnConnection(ConnCallBack callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setOnMessage
void setOnMessage(MsgCallBack callback)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta