13 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)
473new WebSocketException(WebSocketError.ConnectionClosedPrematurely, exc)); 501new WebSocketException(WebSocketError.ConnectionClosedPrematurely, exc); 526new WebSocketException(WebSocketError.ConnectionClosedPrematurely, exc); 909throw new WebSocketException(WebSocketError.ConnectionClosedPrematurely, exc); 1433throw 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)
474throw new WebSocketException(WebSocketError.ConnectionClosedPrematurely);
System.ServiceModel.Http (1)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
85new WebSocketException(WebSocketError.ConnectionClosedPrematurely).Message);