mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-12-29 17:15:34 +01:00
imported signalr 1.1.3 into NzbDrone.
This commit is contained in:
24
src/Microsoft.AspNet.SignalR.Core/ConnectionConfiguration.cs
Normal file
24
src/Microsoft.AspNet.SignalR.Core/ConnectionConfiguration.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
|
||||
|
||||
namespace Microsoft.AspNet.SignalR
|
||||
{
|
||||
public class ConnectionConfiguration
|
||||
{
|
||||
// Resolver isn't set to GlobalHost.DependencyResolver in the ctor because it is lazily created.
|
||||
private IDependencyResolver _resolver;
|
||||
|
||||
/// <summary>
|
||||
/// The dependency resolver to use for the hub connection.
|
||||
/// </summary>
|
||||
public IDependencyResolver Resolver
|
||||
{
|
||||
get { return _resolver ?? GlobalHost.DependencyResolver; }
|
||||
set { _resolver = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determines if browsers can make cross domain requests to SignalR endpoints.
|
||||
/// </summary>
|
||||
public bool EnableCrossDomain { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user