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