Compartir a través de


ConnectionsRouteBuilder.MapConnections Método

Definición

Sobrecargas

MapConnections(PathString, Action<IConnectionBuilder>)

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

MapConnections(PathString, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)

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

MapConnections(PathString, Action<IConnectionBuilder>)

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

Parámetros

path
PathString

Ruta de acceso de la solicitud.

configure
Action<IConnectionBuilder>

Devolución de llamada para configurar la conexión.

Se aplica a

MapConnections(PathString, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)

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

Parámetros

path
PathString

Ruta de acceso de la solicitud.

options
HttpConnectionDispatcherOptions

Opciones usadas para configurar la conexión.

configure
Action<IConnectionBuilder>

Devolución de llamada para configurar la conexión.

Se aplica a