using System; using System.ComponentModel; using System.IO; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Net { /// Provides an HTTP-specific implementation of the class. // Token: 0x02000293 RID: 659 [Token(Token = "0x2000293")] [Serializable] public class HttpWebResponse : WebResponse, ISerializable, IDisposable { // Token: 0x06001118 RID: 4376 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001118")] [Address(RVA = "0xB3B080", Offset = "0xB3A080", VA = "0x180B3B080")] internal HttpWebResponse(Uri uri, string method, WebConnectionData data, CookieContainer container) { } /// Initializes a new instance of the class from the specified and instances. /// A that contains the information required to serialize the new . /// A that contains the source of the serialized stream that is associated with the new . // Token: 0x06001119 RID: 4377 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001119")] [Address(RVA = "0xB3AE10", Offset = "0xB39E10", VA = "0x180B3AE10")] [Obsolete] protected HttpWebResponse(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Gets the headers that are associated with this response from the server. /// A that contains the header information returned with the response. /// The current instance has been disposed. // Token: 0x17000367 RID: 871 // (get) Token: 0x0600111A RID: 4378 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000367")] public override WebHeaderCollection Headers { [Token(Token = "0x600111A")] [Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "13")] get { return null; } } /// Gets the URI of the Internet resource that responded to the request. /// The URI of the Internet resource that responded to the request. /// The current instance has been disposed. // Token: 0x17000368 RID: 872 // (get) Token: 0x0600111B RID: 4379 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000368")] public override Uri ResponseUri { [Token(Token = "0x600111B")] [Address(RVA = "0xB3B2C0", Offset = "0xB3A2C0", VA = "0x180B3B2C0", Slot = "12")] get { return null; } } /// Gets the status of the response. /// One of the values. /// The current instance has been disposed. // Token: 0x17000369 RID: 873 // (get) Token: 0x0600111C RID: 4380 RVA: 0x00008070 File Offset: 0x00006270 [Token(Token = "0x17000369")] public virtual HttpStatusCode StatusCode { [Token(Token = "0x600111C")] [Address(RVA = "0x678D20", Offset = "0x677D20", VA = "0x180678D20", Slot = "14")] get { return (HttpStatusCode)0; } } /// Gets the status description returned with the response. /// A string that describes the status of the response. /// The current instance has been disposed. // Token: 0x1700036A RID: 874 // (get) Token: 0x0600111D RID: 4381 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700036A")] public virtual string StatusDescription { [Token(Token = "0x600111D")] [Address(RVA = "0xB3B2E0", Offset = "0xB3A2E0", VA = "0x180B3B2E0", Slot = "15")] get { return null; } } // Token: 0x0600111E RID: 4382 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600111E")] [Address(RVA = "0xB3AD40", Offset = "0xB39D40", VA = "0x180B3AD40")] internal void ReadAll() { } /// Gets the stream that is used to read the body of the response from the server. /// A containing the body of the response. /// There is no response stream. /// The current instance has been disposed. // Token: 0x0600111F RID: 4383 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600111F")] [Address(RVA = "0xB3ACA0", Offset = "0xB39CA0", VA = "0x180B3ACA0", Slot = "11")] public override Stream GetResponseStream() { return null; } /// Serializes this instance into the specified object. /// The object into which this will be serialized. /// The destination of the serialization. // Token: 0x06001120 RID: 4384 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001120")] [Address(RVA = "0x779A50", Offset = "0x778A50", VA = "0x180779A50", Slot = "6")] void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Populates a with the data needed to serialize the target object. /// The to populate with data. /// A that specifies the destination for this serialization. // Token: 0x06001121 RID: 4385 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001121")] [Address(RVA = "0xB3AB90", Offset = "0xB39B90", VA = "0x180B3AB90", Slot = "8")] protected override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Closes the response stream. /// .NET Core only: This object has been disposed. // Token: 0x06001122 RID: 4386 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001122")] [Address(RVA = "0xB3A9E0", Offset = "0xB399E0", VA = "0x180B3A9E0", Slot = "9")] public override void Close() { } // Token: 0x06001123 RID: 4387 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001123")] [Address(RVA = "0x4AAA60", Offset = "0x4A9A60", VA = "0x1804AAA60", Slot = "7")] void IDisposable.Dispose() { } /// Releases the unmanaged resources used by the , and optionally disposes of the managed resources. /// /// to release both managed and unmanaged resources; to releases only unmanaged resources. // Token: 0x06001124 RID: 4388 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001124")] [Address(RVA = "0xB3AA10", Offset = "0xB39A10", VA = "0x180B3AA10", Slot = "10")] protected override void Dispose(bool disposing) { } // Token: 0x06001125 RID: 4389 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001125")] [Address(RVA = "0xB3A950", Offset = "0xB39950", VA = "0x180B3A950")] private void CheckDisposed() { } // Token: 0x06001126 RID: 4390 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001126")] [Address(RVA = "0xB3AA20", Offset = "0xB39A20", VA = "0x180B3AA20")] private void FillCookies() { } /// Initializes a new instance of the class. // Token: 0x06001127 RID: 4391 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001127")] [Address(RVA = "0xB3ADE0", Offset = "0xB39DE0", VA = "0x180B3ADE0")] [Obsolete] [Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)] [EditorBrowsable(EditorBrowsableState.Never)] public HttpWebResponse() { } // Token: 0x04000A04 RID: 2564 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000A04")] private Uri uri; // Token: 0x04000A05 RID: 2565 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000A05")] private WebHeaderCollection webHeaders; // Token: 0x04000A06 RID: 2566 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000A06")] private CookieCollection cookieCollection; // Token: 0x04000A07 RID: 2567 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000A07")] private string method; // Token: 0x04000A08 RID: 2568 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4000A08")] private Version version; // Token: 0x04000A09 RID: 2569 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4000A09")] private HttpStatusCode statusCode; // Token: 0x04000A0A RID: 2570 [FieldOffset(Offset = "0x48")] [Token(Token = "0x4000A0A")] private string statusDescription; // Token: 0x04000A0B RID: 2571 [FieldOffset(Offset = "0x50")] [Token(Token = "0x4000A0B")] private long contentLength; // Token: 0x04000A0C RID: 2572 [FieldOffset(Offset = "0x58")] [Token(Token = "0x4000A0C")] private string contentType; // Token: 0x04000A0D RID: 2573 [FieldOffset(Offset = "0x60")] [Token(Token = "0x4000A0D")] private CookieContainer cookie_container; // Token: 0x04000A0E RID: 2574 [FieldOffset(Offset = "0x68")] [Token(Token = "0x4000A0E")] private bool disposed; // Token: 0x04000A0F RID: 2575 [FieldOffset(Offset = "0x70")] [Token(Token = "0x4000A0F")] private Stream stream; } }