ConnectionsRouteBuilder.MapConnections Method

Definition

Overloads

MapConnections(PathString, Action<IConnectionBuilder>)

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

MapConnections(PathString, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)

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

MapConnections(PathString, Action<IConnectionBuilder>)

Source:
ConnectionsRouteBuilder.cs
Source:
ConnectionsRouteBuilder.cs

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

public:
 void MapConnections(Microsoft::AspNetCore::Http::PathString path, Action<Microsoft::AspNetCore::Connections::IConnectionBuilder ^> ^ configure);
public void MapConnections (Microsoft.AspNetCore.Http.PathString path, Action<Microsoft.AspNetCore.Connections.IConnectionBuilder> configure);
member this.MapConnections : Microsoft.AspNetCore.Http.PathString * Action<Microsoft.AspNetCore.Connections.IConnectionBuilder> -> unit
Public Sub MapConnections (path As PathString, configure As Action(Of IConnectionBuilder))

Parameters

path
PathString

The request path.

configure
Action<IConnectionBuilder>

A callback to configure the connection.

Applies to

MapConnections(PathString, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)

Source:
ConnectionsRouteBuilder.cs
Source:
ConnectionsRouteBuilder.cs

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

public:
 void MapConnections(Microsoft::AspNetCore::Http::PathString path, Microsoft::AspNetCore::Http::Connections::HttpConnectionDispatcherOptions ^ options, Action<Microsoft::AspNetCore::Connections::IConnectionBuilder ^> ^ configure);
public void MapConnections (Microsoft.AspNetCore.Http.PathString path, Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions options, Action<Microsoft.AspNetCore.Connections.IConnectionBuilder> configure);
member this.MapConnections : Microsoft.AspNetCore.Http.PathString * Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions * Action<Microsoft.AspNetCore.Connections.IConnectionBuilder> -> unit
Public Sub MapConnections (path As PathString, options As HttpConnectionDispatcherOptions, configure As Action(Of IConnectionBuilder))

Parameters

path
PathString

The request path.

options
HttpConnectionDispatcherOptions

Options used to configure the connection.

configure
Action<IConnectionBuilder>

A callback to configure the connection.

Applies to