Class RustPlusFcmSocketOptions
- Namespace
- RustPlusApi.Fcm
- Assembly
- RustPlusApi.Fcm.dll
Tuning options for RustPlusFcmSocket. All values have sensible defaults; pass an instance to the RustPlusFcm constructor only when the defaults don't fit. Configure at construction and treat as fixed afterwards โ the client never mutates it.
public sealed class RustPlusFcmSocketOptions
- Inheritance
-
RustPlusFcmSocketOptions
- Inherited Members
Properties
HeartbeatInterval
How often the client sends its own MCS heartbeat ping. NATs and firewalls silently drop idle TCP mappings; a periodic client ping keeps the mapping alive and provokes traffic that the inactivity watchdog can observe. Default: 5 minutes.
public TimeSpan HeartbeatInterval { get; set; }
Property Value
InactivityTimeout
How long the connection may stay silent (no frame received) before it is presumed dead: ErrorOccurred is raised with a TimeoutException and the socket is disconnected. Should comfortably exceed HeartbeatInterval so a single delayed ack doesn't kill a healthy connection. Default: 12 minutes.
public TimeSpan InactivityTimeout { get; set; }