// 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
{
///
/// Manages the transports for connections.
///
public interface ITransportManager
{
///
/// Gets the specified transport for the specified .
///
/// The for the current request.
/// The for the specified .
ITransport GetTransport(HostContext hostContext);
///
/// Determines whether the specified transport is supported.
///
/// The name of the transport to test.
/// True if the transport is supported, otherwise False.
bool SupportsTransport(string transportName);
}
}