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: 0x02000297 RID: 663 [Token(Token = "0x2000297")] [Serializable] public class HttpWebResponse : WebResponse, ISerializable, IDisposable { // Token: 0x0600112E RID: 4398 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600112E")] [Address(RVA = "0x2715630", Offset = "0x2714430", VA = "0x182715630")] 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: 0x0600112F RID: 4399 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600112F")] [Address(RVA = "0x27153C0", Offset = "0x27141C0", VA = "0x1827153C0")] [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: 0x1700036B RID: 875 // (get) Token: 0x06001130 RID: 4400 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700036B")] public override WebHeaderCollection Headers { [Token(Token = "0x6001130")] [Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", 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: 0x1700036C RID: 876 // (get) Token: 0x06001131 RID: 4401 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700036C")] public override Uri ResponseUri { [Token(Token = "0x6001131")] [Address(RVA = "0x2715870", Offset = "0x2714670", VA = "0x182715870", Slot = "12")] get { return null; } } /// Gets the status of the response. /// One of the values. /// The current instance has been disposed. // Token: 0x1700036D RID: 877 // (get) Token: 0x06001132 RID: 4402 RVA: 0x00008088 File Offset: 0x00006288 [Token(Token = "0x1700036D")] public virtual HttpStatusCode StatusCode { [Token(Token = "0x6001132")] [Address(RVA = "0x3F63F0", Offset = "0x3F51F0", VA = "0x1803F63F0", 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: 0x1700036E RID: 878 // (get) Token: 0x06001133 RID: 4403 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700036E")] public virtual string StatusDescription { [Token(Token = "0x6001133")] [Address(RVA = "0x2715890", Offset = "0x2714690", VA = "0x182715890", Slot = "15")] get { return null; } } // Token: 0x06001134 RID: 4404 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001134")] [Address(RVA = "0x27152F0", Offset = "0x27140F0", VA = "0x1827152F0")] 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: 0x06001135 RID: 4405 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001135")] [Address(RVA = "0x2715250", Offset = "0x2714050", VA = "0x182715250", 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: 0x06001136 RID: 4406 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001136")] [Address(RVA = "0x408310", Offset = "0x407110", VA = "0x180408310", 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: 0x06001137 RID: 4407 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001137")] [Address(RVA = "0x2715140", Offset = "0x2713F40", VA = "0x182715140", Slot = "8")] protected override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Closes the response stream. /// .NET Core only: This object has been disposed. // Token: 0x06001138 RID: 4408 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001138")] [Address(RVA = "0x2714F90", Offset = "0x2713D90", VA = "0x182714F90", Slot = "9")] public override void Close() { } // Token: 0x06001139 RID: 4409 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001139")] [Address(RVA = "0x198C3C0", Offset = "0x198B1C0", VA = "0x18198C3C0", 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: 0x0600113A RID: 4410 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600113A")] [Address(RVA = "0x2714FC0", Offset = "0x2713DC0", VA = "0x182714FC0", Slot = "10")] protected override void Dispose(bool disposing) { } // Token: 0x0600113B RID: 4411 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600113B")] [Address(RVA = "0x2714F00", Offset = "0x2713D00", VA = "0x182714F00")] private void CheckDisposed() { } // Token: 0x0600113C RID: 4412 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600113C")] [Address(RVA = "0x2714FD0", Offset = "0x2713DD0", VA = "0x182714FD0")] private void FillCookies() { } /// Initializes a new instance of the class. // Token: 0x0600113D RID: 4413 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600113D")] [Address(RVA = "0x2715390", Offset = "0x2714190", VA = "0x182715390")] [Obsolete] [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)] public HttpWebResponse() { } // Token: 0x04000A11 RID: 2577 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000A11")] private Uri uri; // Token: 0x04000A12 RID: 2578 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000A12")] private WebHeaderCollection webHeaders; // Token: 0x04000A13 RID: 2579 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000A13")] private CookieCollection cookieCollection; // Token: 0x04000A14 RID: 2580 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000A14")] private string method; // Token: 0x04000A15 RID: 2581 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4000A15")] private Version version; // Token: 0x04000A16 RID: 2582 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4000A16")] private HttpStatusCode statusCode; // Token: 0x04000A17 RID: 2583 [FieldOffset(Offset = "0x48")] [Token(Token = "0x4000A17")] private string statusDescription; // Token: 0x04000A18 RID: 2584 [FieldOffset(Offset = "0x50")] [Token(Token = "0x4000A18")] private long contentLength; // Token: 0x04000A19 RID: 2585 [FieldOffset(Offset = "0x58")] [Token(Token = "0x4000A19")] private string contentType; // Token: 0x04000A1A RID: 2586 [FieldOffset(Offset = "0x60")] [Token(Token = "0x4000A1A")] private CookieContainer cookie_container; // Token: 0x04000A1B RID: 2587 [FieldOffset(Offset = "0x68")] [Token(Token = "0x4000A1B")] private bool disposed; // Token: 0x04000A1C RID: 2588 [FieldOffset(Offset = "0x70")] [Token(Token = "0x4000A1C")] private Stream stream; } }