Session resumption configuration for Live API sessions.
This message is included in the session configuration to enable session resumption. If configured, the server will send SessionResumptionUpdate messages that can be used to restore the session later.
Fields
handle- Handle of a previous session to resume. If not present, a new session is created.transparent- If set, server sends last_consumed_client_message_index for transparent reconnections.
Example
# Start new session with resumption enabled
%SessionResumptionConfig{}
# Resume previous session
%SessionResumptionConfig{handle: "previous_session_handle"}
Summary
Functions
Parses from API response.
Creates a new SessionResumptionConfig.
Converts to API format (camelCase).