Condividi tramite


ConnectionsRouteBuilder.MapConnections Metodo

Definizione

Overload

MapConnections(PathString, Action<IConnectionBuilder>)

Esegue il mapping delle richieste in ingresso con il percorso specificato alla pipeline di connessione specificata.

MapConnections(PathString, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)

Esegue il mapping delle richieste in ingresso con il percorso specificato alla pipeline di connessione specificata.

MapConnections(PathString, Action<IConnectionBuilder>)

Origine:
ConnectionsRouteBuilder.cs
Origine:
ConnectionsRouteBuilder.cs

Esegue il mapping delle richieste in ingresso con il percorso specificato alla pipeline di connessione specificata.

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

Parametri

path
PathString

Percorso della richiesta.

configure
Action<IConnectionBuilder>

Callback per configurare la connessione.

Si applica a

MapConnections(PathString, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)

Origine:
ConnectionsRouteBuilder.cs
Origine:
ConnectionsRouteBuilder.cs

Esegue il mapping delle richieste in ingresso con il percorso specificato alla pipeline di connessione specificata.

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

Parametri

path
PathString

Percorso della richiesta.

options
HttpConnectionDispatcherOptions

Opzioni utilizzate per configurare la connessione.

configure
Action<IConnectionBuilder>

Callback per configurare la connessione.

Si applica a