WebSocketMiddlewareExtensions.UseWebSockets Método

Definición

Sobrecargas

UseWebSockets(IApplicationBuilder)

Agrega a WebSocketMiddleware la canalización de solicitudes.

UseWebSockets(IApplicationBuilder, WebSocketOptions)

Agrega a WebSocketMiddleware la canalización de solicitudes.

UseWebSockets(IApplicationBuilder)

Source:
WebSocketMiddlewareExtensions.cs
Source:
WebSocketMiddlewareExtensions.cs

Agrega a WebSocketMiddleware la canalización de solicitudes.

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

Parámetros

app
IApplicationBuilder

El objeto IApplicationBuilder que se va a configurar.

Devoluciones

IApplicationBuilder.

Se aplica a

UseWebSockets(IApplicationBuilder, WebSocketOptions)

Source:
WebSocketMiddlewareExtensions.cs
Source:
WebSocketMiddlewareExtensions.cs

Agrega a WebSocketMiddleware la canalización de solicitudes.

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

Parámetros

app
IApplicationBuilder

El objeto IApplicationBuilder que se va a configurar.

options
WebSocketOptions

que WebSocketOptions se va a usar para .WebSocketMiddleware

Devoluciones

IApplicationBuilder.

Se aplica a