Méthode | Description | |
---|---|---|
GetTransport ( HttpContext context ) : ITransport |
Gets the specified transport for the specified HttpContext.
|
|
Register ( string transportName, ITransport>.Func |
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.
|
Méthode | Description | |
---|---|---|
TransportManager ( IServiceProvider serviceProvider, IOptions |
public GetTransport ( HttpContext context ) : ITransport | ||
context | HttpContext | The |
Résultat | ITransport |
public Register ( string transportName, ITransport>.Func |
||
transportName | string | The specified transport. |
transportFactory | ITransport>.Func | The factory method for the specified transport. |
Résultat | void |
public Remove ( string transportName ) : void | ||
transportName | string | The specified transport. |
Résultat | void |
public SupportsTransport ( string transportName ) : bool | ||
transportName | string | The name of the transport to test. |
Résultat | bool |