次の方法で共有


WebSocketMiddlewareExtensions.UseWebSockets メソッド

定義

オーバーロード

UseWebSockets(IApplicationBuilder)

WebSocketMiddleware 要求パイプラインに追加します。

UseWebSockets(IApplicationBuilder, WebSocketOptions)

WebSocketMiddleware 要求パイプラインに追加します。

UseWebSockets(IApplicationBuilder)

ソース:
WebSocketMiddlewareExtensions.cs
ソース:
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

パラメーター

戻り値

IApplicationBuilder

適用対象

UseWebSockets(IApplicationBuilder, WebSocketOptions)

ソース:
WebSocketMiddlewareExtensions.cs
ソース:
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

パラメーター

戻り値

IApplicationBuilder

適用対象