ConnectionsRouteBuilder.MapConnectionHandler ConnectionsRouteBuilder.MapConnectionHandler ConnectionsRouteBuilder.MapConnectionHandler ConnectionsRouteBuilder.MapConnectionHandler Method

Definition

Overloads

MapConnectionHandler<TConnectionHandler>(PathString) MapConnectionHandler<TConnectionHandler>(PathString) MapConnectionHandler<TConnectionHandler>(PathString) MapConnectionHandler<TConnectionHandler>(PathString)

Maps incoming requests with the specified path to the provided connection pipeline.

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

Maps incoming requests with the specified path to the provided connection pipeline.

MapConnectionHandler<TConnectionHandler>(PathString) MapConnectionHandler<TConnectionHandler>(PathString) MapConnectionHandler<TConnectionHandler>(PathString) MapConnectionHandler<TConnectionHandler>(PathString)

Maps incoming requests with the specified path to the provided connection pipeline.

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)

Type Parameters

TConnectionHandler

The ConnectionHandler type.

Parameters

path
PathString PathString PathString PathString

The request path.

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

Maps incoming requests with the specified path to the provided connection pipeline.

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

Type Parameters

TConnectionHandler

The ConnectionHandler type.

Parameters

path
PathString PathString PathString PathString

The request path.

configureOptions
Action<HttpConnectionDispatcherOptions>

A callback to configure dispatcher options.

Applies to