HttpRequestError Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines error categories representing the reason for HttpRequestException or HttpIOException.
public enum class HttpRequestError
public enum HttpRequestError
type HttpRequestError =
Public Enum HttpRequestError
- Inheritance
Fields
ConfigurationLimitExceeded | 11 | The response exceeded a pre-configured limit such as MaxResponseContentBufferSize or MaxResponseHeadersLength. |
ConnectionError | 2 | A transport-level failure occurred while connecting to the remote endpoint. |
ExtendedConnectNotSupported | 5 | Extended CONNECT for WebSockets over HTTP/2 is not supported by the peer. |
HttpProtocolError | 4 | An HTTP/2 or HTTP/3 protocol error occurred. |
InvalidResponse | 9 | An invalid or malformed response has been received. |
NameResolutionError | 1 | The DNS name resolution failed. |
ProxyTunnelError | 8 | An error occurred while establishing a connection to the proxy tunnel. |
ResponseEnded | 10 | The response ended prematurely. |
SecureConnectionError | 3 | An error occurred during the TLS handshake. |
Unknown | 0 | A generic or unknown error occurred. |
UserAuthenticationError | 7 | The authentication failed. |
VersionNegotiationError | 6 | Cannot negotiate the HTTP version requested. |