Base:
method
CloseAsync
System.Net.WebSockets.WebSocket.CloseAsync(System.Net.WebSockets.WebSocketCloseStatus, System.String, System.Threading.CancellationToken)
4 references to CloseAsync
Microsoft.AspNetCore.Http.Connections.Tests (4)
HttpConnectionDispatcherTests.cs (1)
1465
await ws.Client.
CloseAsync
(WebSocketCloseStatus.NormalClosure, "", CancellationToken.None);
WebSocketsTests.cs (3)
52
await feature.Client.
CloseAsync
(WebSocketCloseStatus.NormalClosure, "", CancellationToken.None);
100
await feature.Client.
CloseAsync
(WebSocketCloseStatus.NormalClosure, "", CancellationToken.None);
193
await feature.Client.
CloseAsync
(WebSocketCloseStatus.NormalClosure, "", CancellationToken.None);