31 references to AcceptWebSocketAsync
ExceptionHandlerSample (1)
StartupWithWebSocket.cs (1)
31
using var ws = await context.WebSockets.
AcceptWebSocketAsync
();
Interop.FunctionalTests (2)
Http2WebSocketInteropTests.cs (2)
63
var ws = await context.WebSockets.
AcceptWebSocketAsync
();
116
var ws = await context.WebSockets.
AcceptWebSocketAsync
();
Microsoft.AspNetCore.TestHost.Tests (6)
TestClientTests.cs (5)
583
var websocket = await ctx.WebSockets.
AcceptWebSocketAsync
();
666
var websocket = await ctx.WebSockets.
AcceptWebSocketAsync
();
705
var websocket = await ctx.WebSockets.
AcceptWebSocketAsync
();
762
var websocket = await ctx.WebSockets.
AcceptWebSocketAsync
();
789
var websocket = await ctx.WebSockets.
AcceptWebSocketAsync
();
WebSocketClientTests.cs (1)
69
using var websocket = await ctx.WebSockets.
AcceptWebSocketAsync
();
Microsoft.AspNetCore.WebSockets.Tests (22)
WebSocketCompressionMiddlewareTests.cs (1)
53
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
WebSocketMiddlewareTests.cs (21)
24
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
68
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
93
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
118
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
144
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
175
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
224
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
249
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
274
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
307
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
350
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
378
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
406
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
436
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
468
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
517
serverSocket = await context.WebSockets.
AcceptWebSocketAsync
();
592
serverSocket = await context.WebSockets.
AcceptWebSocketAsync
();
725
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
746
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
786
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();
807
var webSocket = await context.WebSockets.
AcceptWebSocketAsync
();