Method Protocols.WebSocket.Connection()->close()
- Method
close
voidclose(void|string(8bit)|CLOSE_STATUSreason,void|stringmsg)- 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.