WebSocketMiddlewareExtensions.UseWebSockets Yöntem

Tanım

Aşırı Yüklemeler

UseWebSockets(IApplicationBuilder)

WebSocketMiddleware öğesini istek işlem hattına ekler.

UseWebSockets(IApplicationBuilder, WebSocketOptions)

WebSocketMiddleware öğesini istek işlem hattına ekler.

UseWebSockets(IApplicationBuilder)

Kaynak:
WebSocketMiddlewareExtensions.cs
Kaynak:
WebSocketMiddlewareExtensions.cs

WebSocketMiddleware öğesini istek işlem hattına ekler.

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

Parametreler

app
IApplicationBuilder

IApplicationBuilder yapılandırılır.

Döndürülenler

IApplicationBuilder.

Şunlara uygulanır

UseWebSockets(IApplicationBuilder, WebSocketOptions)

Kaynak:
WebSocketMiddlewareExtensions.cs
Kaynak:
WebSocketMiddlewareExtensions.cs

WebSocketMiddleware öğesini istek işlem hattına ekler.

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

Parametreler

app
IApplicationBuilder

IApplicationBuilder yapılandırılır.

Döndürülenler

IApplicationBuilder.

Şunlara uygulanır