6 overrides of State
Microsoft.AspNetCore.Http.Connections.Tests (1)
TestWebSocketConnectionFeature.cs (1)
79public override WebSocketState State => _state;
Microsoft.AspNetCore.Owin (1)
WebSockets\OwinWebSocketAdapter.cs (1)
93public override WebSocketState State
Microsoft.AspNetCore.SignalR.Client.Tests (1)
WebSocketsTransportTests.cs (1)
49public override WebSocketState State => WebSocketState.Open;
Microsoft.AspNetCore.TestHost (1)
TestWebSocket.cs (1)
36public override WebSocketState State
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
293public override WebSocketState State => _state;
System.Net.WebSockets.Client (1)
System\Net\WebSockets\ClientWebSocket.cs (1)
32public override WebSocketState State
24 references to State
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
233if (ws.State != WebSocketState.Open)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (4)
1264if (!_endofMessageReceived && (_webSocket.State == WebSocketState.Open || _webSocket.State == WebSocketState.CloseSent)) 1277(_webSocket.State == WebSocketState.Open || 1278_webSocket.State == WebSocketState.CloseSent));
Microsoft.AspNetCore.Http.Connections (3)
Internal\Transports\WebSocketsServerTransport.cs (3)
303return !(ws.State == WebSocketState.Aborted || 304ws.State == WebSocketState.Closed || 305ws.State == WebSocketState.CloseSent);
Microsoft.AspNetCore.Http.Connections.Client (3)
Internal\WebSocketsTransport.cs (3)
635return !(ws.State == WebSocketState.Aborted || 636ws.State == WebSocketState.Closed || 637ws.State == WebSocketState.CloseSent);
Microsoft.AspNetCore.Http.Connections.Tests (2)
WebSocketsTests.cs (2)
227Assert.Equal(WebSocketState.Aborted, serverSocket.State); 263Assert.Equal(WebSocketState.Aborted, serverSocket.State);
Microsoft.AspNetCore.Owin (2)
WebSockets\WebSocketAdapter.cs (2)
121switch (_webSocket.State) 136throw new NotSupportedException($"Unsupported {nameof(WebSocketState)} value: {_webSocket.State}.");
Microsoft.AspNetCore.SpaServices.Extensions (2)
Proxying\SpaProxy.cs (2)
302if (destination.State == WebSocketState.Open || destination.State == WebSocketState.CloseReceived)
Microsoft.AspNetCore.TestHost.Tests (3)
TestClientTests.cs (3)
623Assert.Equal(WebSocketState.CloseSent, clientSocket.State); 638Assert.Equal(WebSocketState.Closed, clientSocket.State); 689Assert.Equal(WebSocketState.CloseReceived, clientSocket.State);
Microsoft.AspNetCore.WebSockets (1)
AbortStream.cs (1)
123if (WebSocket?.State == WebSocketState.Aborted)
Microsoft.AspNetCore.WebSockets.Tests (2)
WebSocketMiddlewareTests.cs (2)
522while (serverSocket.State is WebSocketState.Open or WebSocketState.CloseSent) 599while (serverSocket.State is WebSocketState.Open or WebSocketState.CloseSent)
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
30public WebSocketState State => WebSocket?.State ?? _state;