Class SignalRDefaults
Provides default configuration values for SignalR-related settings.
public static class SignalRDefaults
- Inheritance
-
SignalRDefaults
- Inherited Members
Fields
KeepAliveIntervalSeconds
The interval, in seconds, at which the SignalR client sends keep-alive messages to the server.
public const int KeepAliveIntervalSeconds = 3
Field Value
MaximumReceiveMessageSize
The maximum message size of a single incoming hub message.
public const long MaximumReceiveMessageSize = 10485760
Field Value
ServerTimeoutSeconds
The timeout, in seconds, for the SignalR server to wait before considering the client disconnected.
public const int ServerTimeoutSeconds = 60
Field Value
Remarks
This value represents the time to wait for a response. For example, two retries at 3 seconds each would result in a 6-second timeout, causing a failure.