Method Protocols.WebSocket.Connection()->fail()
- Method
fail
void
fail(void
|CLOSE_STATUS
reason
)- Description
Send a WebSocket connection close frame and terminate the connection. The default
reason
is CLOSE_ERROR.
void
fail(void
|CLOSE_STATUS
reason
)
Send a WebSocket connection close frame and terminate the connection.
The default reason
is CLOSE_ERROR.