Class SessionConfig
Session resuming configuration, request body and response of a session update.
public sealed record SessionConfig : IEquatable<SessionConfig>
- Inheritance
-
SessionConfig
- Implements
- Inherited Members
Properties
Resuming
Whether the session resumes its players after a reconnect.
[JsonPropertyName("resuming")]
public bool Resuming { get; init; }
Property Value
Timeout
Seconds a disconnected resumable session is kept alive.
[JsonPropertyName("timeout")]
[JsonConverter(typeof(RoundedInt32Converter))]
public int Timeout { get; init; }