open fun close(): Unit
Close the WebSocket.
open fun close(statusCode: Short): Unit
open fun close(statusCode: Short, reason: String): Unit