6 overrides of CloseStatus
Microsoft.AspNetCore.Http.Connections.Tests (1)
TestWebSocketConnectionFeature.cs (1)
75public override WebSocketCloseStatus? CloseStatus => _closeStatus;
Microsoft.AspNetCore.Owin (1)
WebSockets\OwinWebSocketAdapter.cs (1)
56public override WebSocketCloseStatus? CloseStatus
Microsoft.AspNetCore.SignalR.Client.Tests (1)
WebSocketsTransportTests.cs (1)
45public override WebSocketCloseStatus? CloseStatus => null;
Microsoft.AspNetCore.TestHost (1)
TestWebSocket.cs (1)
26public override WebSocketCloseStatus? CloseStatus
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
289public override WebSocketCloseStatus? CloseStatus => _closeStatus;
System.Net.WebSockets.Client (1)
System\Net\WebSockets\ClientWebSocket.cs (1)
26public override WebSocketCloseStatus? CloseStatus => _innerWebSocket?.WebSocket?.CloseStatus;
12 references to CloseStatus
Microsoft.AspNetCore.Http.Connections.Client (6)
Internal\WebSocketsTransport.cs (6)
448Log.WebSocketClosed(_logger, socket.CloseStatus); 450if (socket.CloseStatus != WebSocketCloseStatus.NormalClosure) 452throw new InvalidOperationException($"Websocket closed with error: {socket.CloseStatus}."); 475Log.WebSocketClosed(_logger, socket.CloseStatus); 477if (socket.CloseStatus != WebSocketCloseStatus.NormalClosure) 479throw new InvalidOperationException($"Websocket closed with error: {socket.CloseStatus}.");
Microsoft.AspNetCore.Http.Connections.Tests (2)
WebSocketsTests.cs (2)
302Assert.Equal(WebSocketCloseStatus.NormalClosure, serverSocket.CloseStatus); 341Assert.Equal(WebSocketCloseStatus.NormalClosure, serverSocket.CloseStatus);
Microsoft.AspNetCore.Owin (1)
WebSockets\WebSocketAdapter.cs (1)
128await _webSocket.CloseAsync(_webSocket.CloseStatus ?? WebSocketCloseStatus.NormalClosure,
Microsoft.AspNetCore.SignalR.Tests (1)
WebSocketsTransportTests.cs (1)
70webSocketMock.Setup(socket => socket.CloseStatus).Returns(WebSocketCloseStatus.NormalClosure);
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
304await destination.CloseOutputAsync(source.CloseStatus!.Value, source.CloseStatusDescription, cancellationToken);
System.Net.WebSockets.Client (1)
System\Net\WebSockets\ClientWebSocket.cs (1)
26public override WebSocketCloseStatus? CloseStatus => _innerWebSocket?.WebSocket?.CloseStatus;