Condividi tramite


ConnectionsRouteBuilder.MapConnectionHandler Metodo

Definizione

Overload

MapConnectionHandler<TConnectionHandler>(PathString)

Esegue il mapping delle richieste in ingresso con il percorso specificato alla pipeline di connessione specificata.

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

Esegue il mapping delle richieste in ingresso con il percorso specificato alla pipeline di connessione specificata.

MapConnectionHandler<TConnectionHandler>(PathString)

Origine:
ConnectionsRouteBuilder.cs
Origine:
ConnectionsRouteBuilder.cs

Esegue il mapping delle richieste in ingresso con il percorso specificato alla pipeline di connessione specificata.

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)

Parametri di tipo

TConnectionHandler

Tipo ConnectionHandler.

Parametri

path
PathString

Percorso della richiesta.

Si applica a

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

Origine:
ConnectionsRouteBuilder.cs
Origine:
ConnectionsRouteBuilder.cs

Esegue il mapping delle richieste in ingresso con il percorso specificato alla pipeline di connessione specificata.

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))

Parametri di tipo

TConnectionHandler

Tipo ConnectionHandler.

Parametri

path
PathString

Percorso della richiesta.

configureOptions
Action<HttpConnectionDispatcherOptions>

Callback per configurare le opzioni del dispatcher.

Si applica a