다음을 통해 공유


ConnectionsRouteBuilder.MapConnectionHandler 메서드

정의

오버로드

MapConnectionHandler<TConnectionHandler>(PathString)

들어오는 요청을 지정된 경로와 함께 제공된 연결 파이프라인에 매핑합니다.

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

들어오는 요청을 지정된 경로와 함께 제공된 연결 파이프라인에 매핑합니다.

MapConnectionHandler<TConnectionHandler>(PathString)

Source:
ConnectionsRouteBuilder.cs
Source:
ConnectionsRouteBuilder.cs

들어오는 요청을 지정된 경로와 함께 제공된 연결 파이프라인에 매핑합니다.

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)

형식 매개 변수

TConnectionHandler

ConnectionHandler 형식입니다.

매개 변수

path
PathString

요청 경로입니다.

적용 대상

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

Source:
ConnectionsRouteBuilder.cs
Source:
ConnectionsRouteBuilder.cs

들어오는 요청을 지정된 경로와 함께 제공된 연결 파이프라인에 매핑합니다.

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

형식 매개 변수

TConnectionHandler

ConnectionHandler 형식입니다.

매개 변수

path
PathString

요청 경로입니다.

configureOptions
Action<HttpConnectionDispatcherOptions>

디스패처 옵션을 구성하는 콜백입니다.

적용 대상