abstract suspend fun close(cause: Throwable? = null): Unit
Close session with the specified cause or with no reason if null
null