Base:
method
CloseAsync
System.Net.WebSockets.WebSocket.CloseAsync(System.Net.WebSockets.WebSocketCloseStatus, System.String, System.Threading.CancellationToken)
5 references to CloseAsync
Interop.FunctionalTests (1)
Http2WebSocketInteropTests.cs (1)
94await wsClient.CloseAsync(WebSocketCloseStatus.NormalClosure, "Client closed", default);
Microsoft.AspNetCore.WebSockets.Tests (4)
WebSocketCompressionMiddlewareTests.cs (1)
163await client.CloseAsync(WebSocketCloseStatus.NormalClosure, null, default);
WebSocketMiddlewareTests.cs (3)
422await client.CloseAsync(WebSocketCloseStatus.NormalClosure, closeDescription, CancellationToken.None); 455await client.CloseAsync(WebSocketCloseStatus.NormalClosure, closeDescription, CancellationToken.None); 494await client.CloseAsync(result.CloseStatus.Value, result.CloseStatusDescription, CancellationToken.None);