WebSocketClient.disconnectFromHost

Disconnect this client from the connected host. See WebSocketPeer.close for more info.

struct WebSocketClient
@nogc nothrow
void
disconnectFromHost
(
StringArg1
)
(
in long code = 1000
,
in StringArg1 reason = ""
)

Meta