connect

suspend fun connect(transport: Transport): ServerSession(source)

Deprecated

Use createSession(transport) instead.

Replace with

createSession(transport)

Starts a new server session with the given transport and initializes internal request handlers based on the server's capabilities.

Return

The initialized and connected server session.

Parameters

transport

The transport layer to connect the session with.