connect

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

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.