Method Protocols.WebSocket.Connection()->fail()
classProtocols.WebSocket.Connection
- Method
fail
voidfail(void|CLOSE_STATUSreason)- Description
Send a WebSocket connection close frame and terminate the connection. The default
reasonis CLOSE_ERROR.