62 [
Obsolete(
"Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202")]
106 if (
text._stringLength != 0)
189 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
258 public global::System.Security.Cryptography.X509Certificates.X509CertificateCollection
ClientCertificates
287 while (
value ==
null)
306 bool flag =
string.IsNullOrWhiteSpace(
value);
527 if (text !=
null &&
text._stringLength != 0)
529 bool flag =
text ==
"100-continue";
576 string host = uri.Host;
577 string text = uri.Port.ToString();
578 return host +
":" +
text;
586 while (
value ==
null);
761 bool flag =
string.IsNullOrEmpty(
value);
858 if (
value !=
null &&
value.Trim()._stringLength != 0)
949 bool flag =
string.IsNullOrWhiteSpace(
value);
1088 if (serverCertValidationCallback !=
null)
1108 global::System.Uri uri = this.
actualUri;
1115 while (servicePoint2 ==
null)
1143 this.
AddRange(rangeSpecifier, (
long)range);
1149 this.
AddRange(rangeSpecifier, (
long)from, (
long)
to);
1172 string text2 =
text +
"=";
1241 if (transferEncoding !=
null && !this.
sendChunked)
1243 bool flag5 = transferEncoding.Trim() !=
"";
1277 return "Content-Length not set";
1290 if (asyncResult !=
null)
1305 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
1459 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
1466 if (transferEncoding !=
null && !this.
sendChunked)
1477 if (asyncResult !=
null)
1535 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
1563 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
1569 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
1584 if (httpContinueDelegate !=
null)
1609 string text =
"Invalid status code: " + text2;
1624 global::System.Uri uri = this.
actualUri;
1661 if (this.
proxy !=
null)
1663 global::System.Uri uri = this.
actualUri;
1672 global::System.Uri uri;
1685 string host = this.
Host;
1700 string text2 = this.
method;
1797 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
1836 [
Obsolete(
"This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.",
true)]
1837 [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
1862 private global::System.Security.Cryptography.X509Certificates.X509CertificateCollection
certificates;
2196 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
2203 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
2261 private WebCompletionSource <completion>5
__2;
2264 private WebOperation <operation>5
__3;
2267 private WebException <throwMe>5
__4;
2270 private HttpWebResponse <response>5
__5;
2273 private WebResponseStream <stream>5
__6;
2279 private bool <mustReadAll>5
__8;
2282 private WebOperation <ntlm>5
__9;
2285 private global::System.Net.BufferOffsetSize <writeBuffer>5
__10;
2297 [
TupleElementNames(
new string[] {
"response",
"redirect",
"mustReadAll",
"writeBuffer",
"ntlm" })]
2323 if (this.<
throwMe>5__3 !=
null)
2340 if (webProxy !=
null)
2343 this.<>1__state =
num4;
2362 [
TupleElementNames(
new string[] {
"response",
"redirect",
"mustReadAll",
"writeBuffer",
"ntlm" })]
2375 private HttpWebResponse <response>5
__2;
2378 private WebException <throwMe>5
__3;
2384 private bool <mustReadAll>5
__5;
2420 private MemoryStream <ms>5
__2;
class f__AnonymousType0<< Count > j__TPar
ReadOnlyCollection< Exception > m_innerExceptions
Exception _innerException
static CultureInfo InvariantCulture
static string date2string(DateTime D)
static bool IsInvalidMethodOrHeaderString(string stringValue)
HttpWebResponse webResponse
Task< global::System.Net.BufferOffsetSize >< GetRewriteHandler > b__271_0()
WebHeaderCollection webHeaders
override bool PreAuthenticate
bool InternalAllowBuffering
global::System.Uri Address
void DoContinueDelegate(int statusCode, WebHeaderCollection headers)
WebRequestStream writeStream
override bool UseDefaultCredentials
ServicePoint ServicePointNoLock
override Stream GetRequestStream()
HttpWebRequest(global::System.Uri uri, Mono.Net.Security.MobileTlsProvider tlsProvider, [Optional] MonoTlsSettings settings)
WebException GetWebException(Exception e)
static int defaultMaximumErrorResponseLength
Stream GetRequestStream([Out] TransportContext context)
ValueTuple< bool, bool, Task< global::System.Net.BufferOffsetSize >, WebException > CheckFinalStatus(HttpWebResponse response)
override global::System.Uri RequestUri
override WebResponse EndGetResponse(IAsyncResult asyncResult)
static Task< T > RunWithTimeoutWorker< T >(Task< T > workerTask, int timeout, Action abort, Func< bool > aborted, CancellationTokenSource cts)
Task< Stream > MyGetRequestStreamAsync(CancellationToken cancellationToken)
HttpWebRequest.AuthorizationState proxy_auth_state
void AddRange(string rangeSpecifier, long range)
int MaximumAutomaticRedirections
static WebException CreateRequestAbortedException()
Task< HttpWebResponse > MyGetResponseAsync(CancellationToken cancellationToken)
void AddRange(long range)
WebCompletionSource responseTask
virtual bool AllowWriteStreamBuffering
void AddRange(int from, int to)
static int DefaultMaximumResponseHeadersLength
global::System.Uri hostUri
byte[] GetRequestHeaders()
static Task< T > RunWithTimeout< T >(Func< CancellationToken, Task< T > > func, int timeout, Action abort, Func< bool > aborted, CancellationToken cancellationToken)
override IAsyncResult BeginGetRequestStream(AsyncCallback callback, object state)
void AddRange(string rangeSpecifier, long from, long to)
void AddRange(string rangeSpecifier, int range)
void SetDateHeaderHelper(string headerName, DateTime dateTime)
virtual bool SupportsCookieContainer
Mono.Net.Security.MobileTlsProvider TlsProvider
static int DefaultMaximumErrorResponseLength
ValueTuple< WebOperation, bool > HandleNtlmAuth(WebResponseStream stream, HttpWebResponse response, global::System.Net.BufferOffsetSize writeBuffer, CancellationToken cancellationToken)
static StringBuilder GenerateConnectionGroup(string connectionGroupName, bool unsafeConnectionGroup, bool isInternalGroup)
HttpWebRequest(global::System.Uri uri)
override string ContentType
override Task< Stream > GetRequestStreamAsync()
override long ContentLength
global::System.Security.Cryptography.X509Certificates.X509CertificateCollection certificates
WebOperation currentOperation
override WebResponse GetResponse()
bool CheckAuthorization(WebResponse response, HttpStatusCode code)
static int defaultMaxResponseHeadersLength
void ResetAuthorization()
global::System.Uri actualUri
MonoTlsSettings tlsSettings
override string ConnectionGroupName
long InternalContentLength
global::System.Uri AuthUri
ServicePoint GetServicePoint()
global::System.Net.Security.RemoteCertificateValidationCallback ServerCertificateValidationCallback
void AddRange(long from, long to)
Func< Stream, Task > ResendContentFactory
global::System.Uri requestUri
HttpWebRequest.AuthorizationState auth_state
MonoTlsSettings TlsSettings
global::System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates
void AddRange(string rangeSpecifier, int from, int to)
bool UnsafeAuthenticatedConnectionSharing
bool< ReuseConnection > k__BackingField
override Stream EndGetRequestStream(IAsyncResult asyncResult)
void SetSpecialHeaders(string HeaderName, string value)
ServerCertValidationCallback certValidationCallback
Stream EndGetRequestStream(IAsyncResult asyncResult, [Out] TransportContext context)
DecompressionMethods auto_decomp
int maxResponseHeadersLength
virtual bool HaveResponse
void RewriteRedirectToGet()
override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
bool TryGetHostUri(string hostName, [Out] global::System.Uri hostUri)
WebOperation SendRequest(bool redirecting, global::System.Net.BufferOffsetSize writeBuffer, CancellationToken cancellationToken)
static Exception FlattenException(Exception e)
static Exception GetMustImplement()
HttpWebRequest(SerializationInfo serializationInfo, StreamingContext streamingContext)
CookieContainer cookieContainer
override ICredentials Credentials
ServicePoint servicePoint
void CheckRequestStarted()
bool< ThrowOnError > k__BackingField
static WebException GetWebException(Exception e, bool aborted)
override WebHeaderCollection Headers
ValueTuple< Task< global::System.Net.BufferOffsetSize >, WebException > GetRewriteHandler(HttpWebResponse response, bool redirect)
override IAsyncResult BeginGetResponse(AsyncCallback callback, object state)
bool allowReadStreamBuffering
static global::System.Net.Cache.RequestCachePolicy defaultCachePolicy
HttpContinueDelegate continueDelegate
Mono.Net.Security.MobileTlsProvider tlsProvider
virtual bool AllowReadStreamBuffering
HttpContinueDelegate ContinueDelegate
int MaximumResponseHeadersLength
Task< ValueTuple< HttpWebResponse, bool, bool, global::System.Net.BufferOffsetSize, WebOperation > > GetResponseFromData(WebResponseStream stream, CancellationToken cancellationToken)
DecompressionMethods AutomaticDecompression
bool< RunWithTimeout > b__242_0< T >()
bool Redirect(HttpStatusCode code, WebResponse response)
virtual bool AllowAutoRedirect
readonly global::System.Net.Security.RemoteCertificateValidationCallback m_ValidationCallback
static ServicePoint FindServicePoint(global::System.Uri address)
Task< Stream > GetRequestStream()
static IWebProxy InternalDefaultWebProxy
static int CompareExchange(int location1, int value, int comparand)
static void Exit(object obj)
static void Enter(object obj)
static IAsyncResult Begin(Task task, AsyncCallback callback, object state)
void GetObjectData(SerializationInfo info, StreamingContext context)
HttpWebRequest.NtlmAuthState ntlm_auth_state
AuthorizationState(HttpWebRequest request, bool isProxy)
bool CheckAuthorization(WebResponse response, HttpStatusCode code)
override string ToString()
readonly HttpWebRequest request
CancellationTokenSource cts
AsyncTaskMethodBuilder< T ><> t__builder
void SetStateMachine(IAsyncStateMachine stateMachine)
ConfiguredTaskAwaitable< bool >.ConfiguredTaskAwaiter u__1
TaskAwaiter< WebResponseStream ><> u__3
ConfiguredTaskAwaitable< WebRequestStream >.ConfiguredTaskAwaiter u__1
void SetStateMachine(IAsyncStateMachine stateMachine)
ConfiguredTaskAwaitable.ConfiguredTaskAwaiter u__2
AsyncTaskMethodBuilder< HttpWebResponse ><> t__builder
CancellationToken cancellationToken
ConfiguredTaskAwaitable< global::System.Net.BufferOffsetSize >.ConfiguredTaskAwaiter u__2
void SetStateMachine(IAsyncStateMachine stateMachine)
ConfiguredTaskAwaitable.ConfiguredTaskAwaiter u__1
CancellationToken cancellationToken
AsyncTaskMethodBuilder< global::System.Net.BufferOffsetSize ><> t__builder
void SetStateMachine(IAsyncStateMachine stateMachine)
ConfiguredTaskAwaitable.ConfiguredTaskAwaiter u__1