TransportManager::Register Method

.NET Framework 4.5

Adds a new transport to the list of supported transports.

Namespace:  Microsoft.AspNet.SignalR.Transports
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public:
void Register(
	String^ transportName, 
	Func<HostContext^, ITransport^>^ transportFactory
)

Parameters

transportName
Type: System::String
The specified transport.
transportFactory
Type: System::Func<HostContext, ITransport>
The factory method for the specified transport.
Show: