6 references to TransportFailedException
Microsoft.AspNetCore.Http.Connections.Client (6)
HttpConnection.cs (6)
370transportExceptions.Add(new TransportFailedException(transport.Transport!, "The transport is not supported by the client.")); 377transportExceptions.Add(new TransportFailedException("WebSockets", "The transport is not supported on this operating system.")); 384transportExceptions.Add(new TransportFailedException("ServerSentEvents", "The transport is not supported in the browser.")); 393transportExceptions.Add(new TransportFailedException(transportType.ToString(), "The transport is disabled by the client.")); 398transportExceptions.Add(new TransportFailedException(transportType.ToString(), $"The transport does not support the '{transferFormat}' transfer format.")); 423transportExceptions.Add(new TransportFailedException(transportType.ToString(), ex.Message, ex));