ServerlessSettings Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ServerlessSettings() |
Initializes a new instance of the ServerlessSettings class. |
| ServerlessSettings(Nullable<Int32>, Nullable<Int32>) |
Initializes a new instance of the ServerlessSettings class. |
ServerlessSettings()
Initializes a new instance of the ServerlessSettings class.
public ServerlessSettings();
Public Sub New ()
Applies to
ServerlessSettings(Nullable<Int32>, Nullable<Int32>)
Initializes a new instance of the ServerlessSettings class.
public ServerlessSettings(int? connectionTimeoutInSeconds = default, int? keepAliveIntervalInSeconds = default);
new Microsoft.Azure.Management.SignalR.Models.ServerlessSettings : Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.SignalR.Models.ServerlessSettings
Public Sub New (Optional connectionTimeoutInSeconds As Nullable(Of Integer) = Nothing, Optional keepAliveIntervalInSeconds As Nullable(Of Integer) = Nothing)
Parameters
Gets or sets Client Connection Timeout. Optional to be set. Value in seconds. Default value is 30 seconds. Customer should set the timeout to a shorter period if messages are expected to be sent in shorter intervals, and want the client to disconnect more quickly after the last message is sent. You can set the timeout to a longer period if messages are expected to be sent in longer intervals, and they want to keep the same client connection alive during this session. The service considers the client disconnected if it hasn't received a message (including keep-alive) in this interval.
Gets or sets the Keep-Alive Interval. Optional to set. Value is in seconds. The default value is 15 seconds. Customers should set this value to a shorter period if they want the service to send keep-alive messages more frequently, ensuring timely checks of the connection status. Conversely, customers can set this value to a longer period if they want the service to send keep-alive messages less frequently, reducing network traffic, but note that it may take longer to detect a disconnection. This interval ensures that the connection is maintained by sending periodic keep-alive messages to the client.