using System;
using Cpp2IlInjected;
namespace System.Net
{
/// Defines status codes for the class.
// Token: 0x02000237 RID: 567
[Token(Token = "0x2000237")]
public enum WebExceptionStatus
{
/// No error was encountered.
// Token: 0x0400083C RID: 2108
[Token(Token = "0x400083C")]
Success,
/// The name resolver service could not resolve the host name.
// Token: 0x0400083D RID: 2109
[Token(Token = "0x400083D")]
NameResolutionFailure,
/// The remote service point could not be contacted at the transport level.
// Token: 0x0400083E RID: 2110
[Token(Token = "0x400083E")]
ConnectFailure,
/// A complete response was not received from the remote server.
// Token: 0x0400083F RID: 2111
[Token(Token = "0x400083F")]
ReceiveFailure,
/// A complete request could not be sent to the remote server.
// Token: 0x04000840 RID: 2112
[Token(Token = "0x4000840")]
SendFailure,
/// The request was a pipelined request and the connection was closed before the response was received.
// Token: 0x04000841 RID: 2113
[Token(Token = "0x4000841")]
PipelineFailure,
/// The request was canceled, the method was called, or an unclassifiable error occurred. This is the default value for .
// Token: 0x04000842 RID: 2114
[Token(Token = "0x4000842")]
RequestCanceled,
/// The response received from the server was complete but indicated a protocol-level error. For example, an HTTP protocol error such as 401 Access Denied would use this status.
// Token: 0x04000843 RID: 2115
[Token(Token = "0x4000843")]
ProtocolError,
/// The connection was prematurely closed.
// Token: 0x04000844 RID: 2116
[Token(Token = "0x4000844")]
ConnectionClosed,
/// A server certificate could not be validated.
// Token: 0x04000845 RID: 2117
[Token(Token = "0x4000845")]
TrustFailure,
/// An error occurred while establishing a connection using SSL.
// Token: 0x04000846 RID: 2118
[Token(Token = "0x4000846")]
SecureChannelFailure,
/// The server response was not a valid HTTP response.
// Token: 0x04000847 RID: 2119
[Token(Token = "0x4000847")]
ServerProtocolViolation,
/// The connection for a request that specifies the Keep-alive header was closed unexpectedly.
// Token: 0x04000848 RID: 2120
[Token(Token = "0x4000848")]
KeepAliveFailure,
/// An internal asynchronous request is pending.
// Token: 0x04000849 RID: 2121
[Token(Token = "0x4000849")]
Pending,
/// No response was received during the time-out period for a request.
// Token: 0x0400084A RID: 2122
[Token(Token = "0x400084A")]
Timeout,
/// The name resolver service could not resolve the proxy host name.
// Token: 0x0400084B RID: 2123
[Token(Token = "0x400084B")]
ProxyNameResolutionFailure,
/// An exception of unknown type has occurred.
// Token: 0x0400084C RID: 2124
[Token(Token = "0x400084C")]
UnknownError,
/// A message was received that exceeded the specified limit when sending a request or receiving a response from the server.
// Token: 0x0400084D RID: 2125
[Token(Token = "0x400084D")]
MessageLengthLimitExceeded,
/// The specified cache entry was not found.
// Token: 0x0400084E RID: 2126
[Token(Token = "0x400084E")]
CacheEntryNotFound,
/// The request was not permitted by the cache policy. In general, this occurs when a request is not cacheable and the effective policy prohibits sending the request to the server. You might receive this status if a request method implies the presence of a request body, a request method requires direct interaction with the server, or a request contains a conditional header.
// Token: 0x0400084F RID: 2127
[Token(Token = "0x400084F")]
RequestProhibitedByCachePolicy,
/// This request was not permitted by the proxy.
// Token: 0x04000850 RID: 2128
[Token(Token = "0x4000850")]
RequestProhibitedByProxy
}
}