connect

actual suspend fun connect(sessionResumption: SessionResumptionConfig?): LiveSession(source)

Start a LiveSession with the server for bidirectional streaming.

Return

A LiveSession that you can use to stream messages to and from the server.

Throws

If the client was not able to establish a connection with the server.

expect suspend fun connect(sessionResumption: SessionResumptionConfig? = null): LiveSession(source)

Start a LiveSession with the server for bidirectional streaming.

Return

A LiveSession that you can use to stream messages to and from the server.

Throws

If the client was not able to establish a connection with the server.

actual suspend fun connect(sessionResumption: SessionResumptionConfig?): LiveSession(source)

Start a LiveSession with the server for bidirectional streaming.

Return

A LiveSession that you can use to stream messages to and from the server.

Throws

If the client was not able to establish a connection with the server.