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