9 references to InternalServerError
Microsoft.AspNetCore.Http.Connections (1)
Internal\Transports\WebSocketsServerTransport.cs (1)
281await socket.CloseOutputAsync(error != null ? WebSocketCloseStatus.InternalServerError : WebSocketCloseStatus.NormalClosure, "", CancellationToken.None);
Microsoft.AspNetCore.Http.Connections.Client (2)
Internal\WebSocketsTransport.cs (2)
602await socket.CloseOutputAsync(error != null ? WebSocketCloseStatus.InternalServerError : WebSocketCloseStatus.NormalClosure, "", _stopCts.Token).ConfigureAwait(false); 608await socket.CloseAsync(error != null ? WebSocketCloseStatus.InternalServerError : WebSocketCloseStatus.NormalClosure, "", _stopCts.Token).ConfigureAwait(false);
Microsoft.AspNetCore.Http.Connections.Tests (4)
TestWebSocketConnectionFeature.cs (3)
225CloseStatus = WebSocketCloseStatus.InternalServerError, 249_closeStatus = WebSocketCloseStatus.InternalServerError; 250return new WebSocketConnectionSummary(frames, new WebSocketReceiveResult(0, WebSocketMessageType.Close, endOfMessage: true, closeStatus: WebSocketCloseStatus.InternalServerError, closeStatusDescription: ""));
WebSocketsTests.cs (1)
190Assert.Equal(WebSocketCloseStatus.InternalServerError, clientSummary.CloseResult.CloseStatus);
Microsoft.AspNetCore.TestHost.Tests (1)
TestClientTests.cs (1)
667await websocket.CloseAsync(WebSocketCloseStatus.InternalServerError, closeReason, CancellationToken.None);
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
1091case WebSocketCloseStatus.InternalServerError: