connect

open suspend override fun connect(transport: Transport)(source)

Connects the client to the given transport, performing the initialization handshake with the server.

Parameters

transport

The transport to use for communication with the server.

Throws

If the server's protocol version is not supported.