OwinFeatureCollection.IHttpWebSocketFeature.AcceptAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
Parámetros
- context
- WebSocketAcceptContext