Method Protocols.WebSocket.Connection()->close()
- Method close
void close(void|CLOSE_STATUS reason)
- Description
Send a WebSocket connection close frame. The close callback will be called when the close handshake has been completed. No more frames can be sent after initiating the close handshake.