WebSocketConnection.close

Closes this connection, if it's alive, sending a websocket close message.

class WebSocketConnection
void
close
()