C# 클래스 Microsoft.AspNetCore.SignalR.Transports.TransportManager

The default ITransportManager implementation.
상속: ITransportManager
파일 보기 프로젝트 열기: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

공개 메소드들

메소드 설명
GetTransport ( HttpContext context ) : ITransport

Gets the specified transport for the specified HttpContext.

Register ( string transportName, ITransport>.Func transportFactory ) : void

Adds a new transport to the list of supported transports.

Remove ( string transportName ) : void

Removes a transport from the list of supported transports.

SupportsTransport ( string transportName ) : bool

Determines whether the specified transport is supported.

비공개 메소드들

메소드 설명
TransportManager ( IServiceProvider serviceProvider, IOptions optionsAccessor ) : System

메소드 상세

GetTransport() 공개 메소드

Gets the specified transport for the specified HttpContext.
public GetTransport ( HttpContext context ) : ITransport
context HttpContext The for the current request.
리턴 ITransport

Register() 공개 메소드

Adds a new transport to the list of supported transports.
public Register ( string transportName, ITransport>.Func transportFactory ) : void
transportName string The specified transport.
transportFactory ITransport>.Func The factory method for the specified transport.
리턴 void

Remove() 공개 메소드

Removes a transport from the list of supported transports.
public Remove ( string transportName ) : void
transportName string The specified transport.
리턴 void

SupportsTransport() 공개 메소드

Determines whether the specified transport is supported.
public SupportsTransport ( string transportName ) : bool
transportName string The name of the transport to test.
리턴 bool