Class SessionResumptionConfig
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Configuration of session resumption mechanism. Included in LiveConnectConfig.session_resumption. If included server will send LiveServerSessionResumptionUpdate messages.
public class SessionResumptionConfig
- Inheritance
-
SessionResumptionConfig
- Inherited Members
- Extension Methods
Properties
Handle
Session resumption handle of previous session (session to restore). If not present new session will be started.
[JsonPropertyName("handle")]
public string? Handle { get; set; }
Property Value
Transparent
If set the server will send last_consumed_client_message_index in the session_resumption_update messages to allow for transparent reconnections. Vertex AI only; not supported by the Gemini Developer API.
[JsonPropertyName("transparent")]
public bool? Transparent { get; set; }
Property Value
- bool?