One open connection. The host hands the handler the same peer for every call about that connection.
Closes the connection; the code and reason are the WebSocket close frame's (default 1000).
Optional
One open connection. The host hands the handler the same peer for every call about that connection.