// 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 { /// /// Provides access to server configuration. /// public interface IConfigurationManager { /// /// Gets or sets a representing the amount of time to leave a connection open before timing out. /// TimeSpan ConnectionTimeout { get; set; } /// /// Gets or sets a representing the amount of time to wait after a connection goes away before raising the disconnect event. /// TimeSpan DisconnectTimeout { get; set; } /// /// Gets or sets a 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. /// TimeSpan? KeepAlive { get; set; } /// /// Gets of sets the number of messages to buffer for a specific signal. /// int DefaultMessageBufferSize { get; set; } } }