Base:
property
State
System.Net.WebSockets.WebSocket.State
7 references to State
Microsoft.AspNetCore.WebSockets.Tests (7)
WebSocketMiddlewareTests.cs (7)
366Assert.Equal(WebSocketState.CloseSent, client.State); 394Assert.Equal(WebSocketState.CloseReceived, client.State); 424Assert.Equal(WebSocketState.Closed, client.State); 453Assert.Equal(WebSocketState.CloseSent, client.State); 456Assert.Equal(WebSocketState.Closed, client.State); 492Assert.Equal(WebSocketState.CloseReceived, client.State); 496Assert.Equal(WebSocketState.Closed, client.State);