Partager via


ConnectionsRouteBuilder.MapConnections Méthode

Définition

Surcharges

MapConnections(PathString, Action<IConnectionBuilder>)

Mappe les requêtes entrantes avec le chemin spécifié au pipeline de connexion fourni.

MapConnections(PathString, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)

Mappe les requêtes entrantes avec le chemin spécifié au pipeline de connexion fourni.

MapConnections(PathString, Action<IConnectionBuilder>)

Source:
ConnectionsRouteBuilder.cs
Source:
ConnectionsRouteBuilder.cs

Mappe les requêtes entrantes avec le chemin spécifié au pipeline de connexion fourni.

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

Paramètres

path
PathString

chemin d'accès de la requête.

configure
Action<IConnectionBuilder>

Rappel pour configurer la connexion.

S’applique à

MapConnections(PathString, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)

Source:
ConnectionsRouteBuilder.cs
Source:
ConnectionsRouteBuilder.cs

Mappe les requêtes entrantes avec le chemin spécifié au pipeline de connexion fourni.

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

Paramètres

path
PathString

chemin d'accès de la requête.

options
HttpConnectionDispatcherOptions

Options utilisées pour configurer la connexion.

configure
Action<IConnectionBuilder>

Rappel pour configurer la connexion.

S’applique à