connect

abstract suspend fun connect(method: StreamSession.Method): Result<Unit>

Creates a connection to an application on server.