Compartir a través de


ConnectionsRouteBuilder.MapConnectionHandler Método

Definición

Sobrecargas

MapConnectionHandler<TConnectionHandler>(PathString)

Asigna las solicitudes entrantes con la ruta de acceso especificada a la canalización de conexión proporcionada.

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

Asigna las solicitudes entrantes con la ruta de acceso especificada a la canalización de conexión proporcionada.

MapConnectionHandler<TConnectionHandler>(PathString)

Source:
ConnectionsRouteBuilder.cs
Source:
ConnectionsRouteBuilder.cs

Asigna las solicitudes entrantes con la ruta de acceso especificada a la canalización de conexión proporcionada.

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

El tipo de la clase ConnectionHandler.

Parámetros

path
PathString

Ruta de acceso de la solicitud.

Se aplica a

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

Source:
ConnectionsRouteBuilder.cs
Source:
ConnectionsRouteBuilder.cs

Asigna las solicitudes entrantes con la ruta de acceso especificada a la canalización de conexión proporcionada.

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

El tipo de la clase ConnectionHandler.

Parámetros

path
PathString

Ruta de acceso de la solicitud.

configureOptions
Action<HttpConnectionDispatcherOptions>

Devolución de llamada para configurar las opciones del distribuidor.

Se aplica a