WebSocket.closeReason

Returns the close reason sent by the remote end.

Note if the connection was never opened, is still alive, or was closed locally this value will be an empty string.

class WebSocket
@safe scope @property
const(char)[]
closeReason
()

Meta