다음을 통해 공유


WebSocketMiddlewareExtensions.UseWebSockets 메서드

정의

오버로드

UseWebSockets(IApplicationBuilder)

WebSocketMiddleware 를 요청 파이프라인에 추가합니다.

UseWebSockets(IApplicationBuilder, WebSocketOptions)

WebSocketMiddleware 를 요청 파이프라인에 추가합니다.

UseWebSockets(IApplicationBuilder)

Source:
WebSocketMiddlewareExtensions.cs
Source:
WebSocketMiddlewareExtensions.cs

WebSocketMiddleware 를 요청 파이프라인에 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseWebSockets(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWebSockets (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseWebSockets : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseWebSockets (app As IApplicationBuilder) As IApplicationBuilder

매개 변수

app
IApplicationBuilder

구성할 IApplicationBuilder입니다.

반환

IApplicationBuilder

적용 대상

UseWebSockets(IApplicationBuilder, WebSocketOptions)

Source:
WebSocketMiddlewareExtensions.cs
Source:
WebSocketMiddlewareExtensions.cs

WebSocketMiddleware 를 요청 파이프라인에 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseWebSockets(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::WebSocketOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWebSockets (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.WebSocketOptions options);
static member UseWebSockets : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.WebSocketOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseWebSockets (app As IApplicationBuilder, options As WebSocketOptions) As IApplicationBuilder

매개 변수

app
IApplicationBuilder

구성할 IApplicationBuilder입니다.

options
WebSocketOptions

WebSocketOptions 에 사용할 입니다WebSocketMiddleware.

반환

IApplicationBuilder

적용 대상