resumeSession

actual suspend fun resumeSession(sessionResumption: SessionResumptionConfig?)(source)

Resumes an existing live session with the server.

This closes the current WebSocket connection and establishes a new one using the same configuration as the original session.

Parameters

sessionResumption

The configuration for session resumption, such as the handle to the previous session state to restore.

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

Resumes an existing live session with the server.

This closes the current WebSocket connection and establishes a new one using the same configuration as the original session.

Parameters

sessionResumption

The configuration for session resumption, such as the handle to the previous session state to restore.

actual suspend fun resumeSession(sessionResumption: SessionResumptionConfig?)(source)

Resumes an existing live session with the server.

This closes the current WebSocket connection and establishes a new one using the same configuration as the original session.

Parameters

sessionResumption

The configuration for session resumption, such as the handle to the previous session state to restore.