OwinFeatureCollection.IHttpWebSocketFeature.AcceptAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
virtual System::Threading::Tasks::Task<System::Net::WebSockets::WebSocket ^> ^ Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature.AcceptAsync(Microsoft::AspNetCore::Http::WebSocketAcceptContext ^ context) = Microsoft::AspNetCore::Http::Features::IHttpWebSocketFeature::AcceptAsync;
System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket> IHttpWebSocketFeature.AcceptAsync (Microsoft.AspNetCore.Http.WebSocketAcceptContext context);
abstract member Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature.AcceptAsync : Microsoft.AspNetCore.Http.WebSocketAcceptContext -> System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket>
override this.Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature.AcceptAsync : Microsoft.AspNetCore.Http.WebSocketAcceptContext -> System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket>
Function AcceptAsync (context As WebSocketAcceptContext) As Task(Of WebSocket) Implements IHttpWebSocketFeature.AcceptAsync
参数
- context
- WebSocketAcceptContext