OwinFeatureCollection.IHttpWebSocketFeature.AcceptAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Paramètres
- context
- WebSocketAcceptContext