Table of Contents

Class SessionConfig

Namespace
Nyra.Entities
Assembly
Nyra.dll

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

bool

Timeout

Seconds a disconnected resumable session is kept alive.

[JsonPropertyName("timeout")]
[JsonConverter(typeof(RoundedInt32Converter))]
public int Timeout { get; init; }

Property Value

int