1 override of IsWebSocketRequest
Microsoft.AspNetCore.Http (1)
Internal\DefaultWebSocketManager.cs (1)
45public override bool IsWebSocketRequest
49 references to IsWebSocketRequest
AutobahnTestApp (1)
Startup.cs (1)
18if (context.WebSockets.IsWebSocketRequest)
ExceptionHandlerSample (1)
StartupWithWebSocket.cs (1)
29if (context.WebSockets.IsWebSocketRequest)
Interop.FunctionalTests (2)
Http2WebSocketInteropTests.cs (2)
62Assert.True(context.WebSockets.IsWebSocketRequest); 115Assert.True(context.WebSockets.IsWebSocketRequest);
JwtSample (1)
Startup.cs (1)
50(context.HttpContext.WebSockets.IsWebSocketRequest || context.Request.Headers["Accept"] == "text/event-stream"))
Microsoft.AspNetCore.Components.Server (1)
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (1)
94if (ctx.WebSockets.IsWebSocketRequest)
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionDispatcher.cs (1)
167if (context.WebSockets.IsWebSocketRequest)
Internal\Transports\WebSocketsServerTransport.cs (1)
39Debug.Assert(context.WebSockets.IsWebSocketRequest, "Not a websocket request");
Microsoft.AspNetCore.Http.Connections.Tests (3)
HttpConnectionDispatcherTests.cs (3)
489if (context.WebSockets.IsWebSocketRequest) 3223(context.HttpContext.WebSockets.IsWebSocketRequest || context.Request.Headers["Accept"] == "text/event-stream")) 3385(context.HttpContext.WebSockets.IsWebSocketRequest || context.Request.Headers["Accept"] == "text/event-stream"))
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
127if (context.WebSockets.IsWebSocketRequest)
Microsoft.AspNetCore.SignalR.Tests (1)
Startup.cs (1)
59(context.HttpContext.WebSockets.IsWebSocketRequest || context.Request.Headers["Accept"] == "text/event-stream"))
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
78if (context.WebSockets.IsWebSocketRequest)
Microsoft.AspNetCore.TestHost.Tests (6)
TestClientTests.cs (5)
580if (ctx.WebSockets.IsWebSocketRequest) 649if (ctx.WebSockets.IsWebSocketRequest) 703if (ctx.WebSockets.IsWebSocketRequest) 760if (ctx.WebSockets.IsWebSocketRequest) 787if (ctx.WebSockets.IsWebSocketRequest)
WebSocketClientTests.cs (1)
67if (ctx.WebSockets.IsWebSocketRequest)
Microsoft.AspNetCore.WebSockets.Tests (29)
Http2WebSocketTests.cs (1)
28Assert.True(httpContext.WebSockets.IsWebSocketRequest);
WebSocketCompressionMiddlewareTests.cs (4)
20Assert.True(context.WebSockets.IsWebSocketRequest); 52Assert.True(context.WebSockets.IsWebSocketRequest); 82Assert.True(context.WebSockets.IsWebSocketRequest); 115Assert.True(context.WebSockets.IsWebSocketRequest);
WebSocketMiddlewareTests.cs (24)
23Assert.True(context.WebSockets.IsWebSocketRequest); 39Assert.True(context.WebSockets.IsWebSocketRequest); 67Assert.True(context.WebSockets.IsWebSocketRequest); 92Assert.True(context.WebSockets.IsWebSocketRequest); 117Assert.True(context.WebSockets.IsWebSocketRequest); 143Assert.True(context.WebSockets.IsWebSocketRequest); 174Assert.True(context.WebSockets.IsWebSocketRequest); 223Assert.True(context.WebSockets.IsWebSocketRequest); 248Assert.True(context.WebSockets.IsWebSocketRequest); 273Assert.True(context.WebSockets.IsWebSocketRequest); 306Assert.True(context.WebSockets.IsWebSocketRequest); 349Assert.True(context.WebSockets.IsWebSocketRequest); 377Assert.True(context.WebSockets.IsWebSocketRequest); 405Assert.True(context.WebSockets.IsWebSocketRequest); 435Assert.True(context.WebSockets.IsWebSocketRequest); 467Assert.True(context.WebSockets.IsWebSocketRequest); 516Assert.True(context.WebSockets.IsWebSocketRequest); 591Assert.True(context.WebSockets.IsWebSocketRequest); 655Assert.True(context.WebSockets.IsWebSocketRequest); 698Assert.False(context.WebSockets.IsWebSocketRequest); 724Assert.True(context.WebSockets.IsWebSocketRequest); 745Assert.True(context.WebSockets.IsWebSocketRequest); 782Assert.True(context.WebSockets.IsWebSocketRequest); 806Assert.True(context.WebSockets.IsWebSocketRequest);