Compartilhar via


ConnectionsRouteBuilder.MapConnectionHandler Método

Definição

Sobrecargas

MapConnectionHandler<TConnectionHandler>(PathString)

Mapeia solicitações de entrada com o caminho especificado para o pipeline de conexão fornecido.

MapConnectionHandler<TConnectionHandler>(PathString, Action<HttpConnectionDispatcherOptions>)

Mapeia solicitações de entrada com o caminho especificado para o pipeline de conexão fornecido.

MapConnectionHandler<TConnectionHandler>(PathString)

Origem:
ConnectionsRouteBuilder.cs
Origem:
ConnectionsRouteBuilder.cs

Mapeia solicitações de entrada com o caminho especificado para o pipeline de conexão fornecido.

public:
generic <typename TConnectionHandler>
 where TConnectionHandler : Microsoft::AspNetCore::Connections::ConnectionHandler void MapConnectionHandler(Microsoft::AspNetCore::Http::PathString path);
public void MapConnectionHandler<TConnectionHandler> (Microsoft.AspNetCore.Http.PathString path) where TConnectionHandler : Microsoft.AspNetCore.Connections.ConnectionHandler;
member this.MapConnectionHandler : Microsoft.AspNetCore.Http.PathString -> unit (requires 'ConnectionHandler :> Microsoft.AspNetCore.Connections.ConnectionHandler)
Public Sub MapConnectionHandler(Of TConnectionHandler As ConnectionHandler) (path As PathString)

Parâmetros de tipo

TConnectionHandler

O tipo ConnectionHandler.

Parâmetros

path
PathString

O caminho da solicitação.

Aplica-se a

MapConnectionHandler<TConnectionHandler>(PathString, Action<HttpConnectionDispatcherOptions>)

Origem:
ConnectionsRouteBuilder.cs
Origem:
ConnectionsRouteBuilder.cs

Mapeia solicitações de entrada com o caminho especificado para o pipeline de conexão fornecido.

public:
generic <typename TConnectionHandler>
 where TConnectionHandler : Microsoft::AspNetCore::Connections::ConnectionHandler void MapConnectionHandler(Microsoft::AspNetCore::Http::PathString path, Action<Microsoft::AspNetCore::Http::Connections::HttpConnectionDispatcherOptions ^> ^ configureOptions);
public void MapConnectionHandler<TConnectionHandler> (Microsoft.AspNetCore.Http.PathString path, Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> configureOptions) where TConnectionHandler : Microsoft.AspNetCore.Connections.ConnectionHandler;
member this.MapConnectionHandler : Microsoft.AspNetCore.Http.PathString * Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> -> unit (requires 'ConnectionHandler :> Microsoft.AspNetCore.Connections.ConnectionHandler)
Public Sub MapConnectionHandler(Of TConnectionHandler As ConnectionHandler) (path As PathString, configureOptions As Action(Of HttpConnectionDispatcherOptions))

Parâmetros de tipo

TConnectionHandler

O tipo ConnectionHandler.

Parâmetros

path
PathString

O caminho da solicitação.

configureOptions
Action<HttpConnectionDispatcherOptions>

Um retorno de chamada para configurar as opções do dispatcher.

Aplica-se a