disconnect

open suspend override fun disconnect()

Disconnect the WebSocket. Will do nothing when there is no connection.

See also