Closes the WebSocket connection
Symbol
WebSocket.close
@param code
A numeric value indicating the status code
@param reason
A human-readable string explaining why the connection is closing
Symbol
Closes the WebSocket connection
A numeric value indicating the status code
A human-readable string explaining why the connection is closing