OwinFeatureCollection.IHttpWebSocketFeature.AcceptAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- context
- WebSocketAcceptContext