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