WebSocket.close

Closes the connection, sending a graceful teardown message to the other side.

class WebSocket
void
close
(
int code = 0
,
string reason = null
)

See Also

Meta