close

abstract suspend fun close()(source)

Closes this session and the underlying web socket connection. This effectively closes all child sessions, because they're based on the same web socket connection.