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