WebsocketConnection.addOnMessage

Emitted when we receive a message from the peer.

As a convenience, the @message data will always be NUL-terminated, but the NUL byte will not be included in the length count.

class WebsocketConnection
gulong
addOnMessage
(
void delegate dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Meta

Since

2.50