1 override of AcceptWebSocketAsync
Microsoft.AspNetCore.Http (1)
Internal\DefaultWebSocketManager.cs (1)
61public override Task<WebSocket> AcceptWebSocketAsync(string? subProtocol)
6 references to AcceptWebSocketAsync
Microsoft.AspNetCore.Http.Abstractions (1)
WebSocketManager.cs (1)
32return AcceptWebSocketAsync(subProtocol: null);
Microsoft.AspNetCore.Http.Connections (1)
Internal\Transports\WebSocketsServerTransport.cs (1)
43using (var ws = await context.WebSockets.AcceptWebSocketAsync(subProtocol))
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
260using (var server = await context.WebSockets.AcceptWebSocketAsync(client.SubProtocol))
Microsoft.AspNetCore.TestHost.Tests (1)
TestClientTests.cs (1)
657var websocket = await ctx.WebSockets.AcceptWebSocketAsync("charlie");
Microsoft.AspNetCore.WebSockets.Tests (2)
Http2WebSocketTests.cs (1)
30return httpContext.WebSockets.AcceptWebSocketAsync("p2");
WebSocketMiddlewareTests.cs (1)
41var webSocket = await context.WebSockets.AcceptWebSocketAsync("Bravo");