mirror of https://github.com/lidarr/Lidarr
34 lines
1.3 KiB
C#
34 lines
1.3 KiB
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
|
|
|
|
using System;
|
|
|
|
namespace Microsoft.AspNet.SignalR.Configuration
|
|
{
|
|
/// <summary>
|
|
/// Provides access to server configuration.
|
|
/// </summary>
|
|
public interface IConfigurationManager
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="TimeSpan"/> representing the amount of time to leave a connection open before timing out.
|
|
/// </summary>
|
|
TimeSpan ConnectionTimeout { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="TimeSpan"/> representing the amount of time to wait after a connection goes away before raising the disconnect event.
|
|
/// </summary>
|
|
TimeSpan DisconnectTimeout { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="TimeSpan"/> representing the amount of time between send keep alive messages.
|
|
/// If enabled, this value must be at least two seconds. Set to null to disable.
|
|
/// </summary>
|
|
TimeSpan? KeepAlive { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets of sets the number of messages to buffer for a specific signal.
|
|
/// </summary>
|
|
int DefaultMessageBufferSize { get; set; }
|
|
}
|
|
}
|