12 references to ConnectionClosedPrematurely
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
101new WebSocketException(WebSocketError.ConnectionClosedPrematurely).Message);
Microsoft.AspNetCore.Http.Connections (1)
Internal\Transports\WebSocketsServerTransport.cs (1)
173catch (WebSocketException ex) when (ex.WebSocketErrorCode == WebSocketError.ConnectionClosedPrematurely)
Microsoft.AspNetCore.Http.Connections.Tests (2)
TestWebSocketConnectionFeature.cs (2)
91_output.TryComplete(new WebSocketException(WebSocketError.ConnectionClosedPrematurely)); 177case WebSocketError.ConnectionClosedPrematurely:
Microsoft.AspNetCore.WebSockets.Tests (1)
SendReceiveTests.cs (1)
101Assert.Equal(WebSocketError.ConnectionClosedPrematurely, ex.WebSocketErrorCode);
System.Net.WebSockets (6)
System\Net\WebSockets\ManagedWebSocket.cs (5)
549new WebSocketException(WebSocketError.ConnectionClosedPrematurely, exc)); 590new WebSocketException(WebSocketError.ConnectionClosedPrematurely, exc); 630new WebSocketException(WebSocketError.ConnectionClosedPrematurely, exc); 1038throw new WebSocketException(WebSocketError.ConnectionClosedPrematurely, exc); 1620throw new WebSocketException(WebSocketError.ConnectionClosedPrematurely);
System\Net\WebSockets\WebSocketException.cs (1)
141WebSocketError.ConnectionClosedPrematurely => SR.net_WebSockets_ConnectionClosedPrematurely_Generic,
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
475throw new WebSocketException(WebSocketError.ConnectionClosedPrematurely);