mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-20 21:55:03 -04:00
imported signalr 1.1.3 into NzbDrone.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
|
||||
|
||||
using Microsoft.AspNet.SignalR.Hosting;
|
||||
namespace Microsoft.AspNet.SignalR.Transports
|
||||
{
|
||||
/// <summary>
|
||||
/// Manages the transports for connections.
|
||||
/// </summary>
|
||||
public interface ITransportManager
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the specified transport for the specified <see cref="HostContext"/>.
|
||||
/// </summary>
|
||||
/// <param name="hostContext">The <see cref="HostContext"/> for the current request.</param>
|
||||
/// <returns>The <see cref="ITransport"/> for the specified <see cref="HostContext"/>.</returns>
|
||||
ITransport GetTransport(HostContext hostContext);
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the specified transport is supported.
|
||||
/// </summary>
|
||||
/// <param name="transportName">The name of the transport to test.</param>
|
||||
/// <returns>True if the transport is supported, otherwise False.</returns>
|
||||
bool SupportsTransport(string transportName);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user