LiveServerGoAway

@PublicPreviewAPI
class LiveServerGoAway : LiveServerMessage


Notification that the server is initiating a disconnect of the session.

This message is sent by the server when it needs to close the connection, typically due to session timeout, resource constraints, or other server-side reasons.

When this message is received, the client should gracefully close the LiveSession by calling LiveSession.close.

Summary

Public constructors

Public properties

Duration?

The time remaining before the connection terminates.

Public constructors

LiveServerGoAway

LiveServerGoAway(timeLeft: Duration?)

Public properties

timeLeft

val timeLeftDuration?

The time remaining before the connection terminates.