124 lines
7.2 KiB
C#
124 lines
7.2 KiB
C#
using System;
|
|
using System.IO;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Provides a response from a Uniform Resource Identifier (URI). This is an <see langword="abstract" /> class.</summary>
|
|
// Token: 0x02000245 RID: 581
|
|
[Token(Token = "0x2000245")]
|
|
[Serializable]
|
|
public abstract class WebResponse : MarshalByRefObject, ISerializable, IDisposable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.WebResponse" /> class.</summary>
|
|
// Token: 0x06000EA2 RID: 3746 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000EA2")]
|
|
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
|
|
protected WebResponse()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.WebResponse" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes.</summary>
|
|
/// <param name="serializationInfo">An instance of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> class that contains the information required to serialize the new <see cref="T:System.Net.WebRequest" /> instance.</param>
|
|
/// <param name="streamingContext">An instance of the <see cref="T:System.Runtime.Serialization.StreamingContext" /> class that indicates the source of the serialized stream that is associated with the new <see cref="T:System.Net.WebRequest" /> instance.</param>
|
|
/// <exception cref="T:System.NotSupportedException">Any attempt is made to access the constructor, when the constructor is not overridden in a descendant class.</exception>
|
|
// Token: 0x06000EA3 RID: 3747 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000EA3")]
|
|
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
|
|
protected WebResponse(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
|
{
|
|
}
|
|
|
|
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data that is needed to serialize <see cref="T:System.Net.WebResponse" />.</summary>
|
|
/// <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that will hold the serialized data for the <see cref="T:System.Net.WebResponse" />.</param>
|
|
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the destination of the serialized stream that is associated with the new <see cref="T:System.Net.WebResponse" />.</param>
|
|
// Token: 0x06000EA4 RID: 3748 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000EA4")]
|
|
[Address(RVA = "0x408310", Offset = "0x407110", VA = "0x180408310", Slot = "6")]
|
|
void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
|
{
|
|
}
|
|
|
|
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data that is needed to serialize the target object.</summary>
|
|
/// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
|
|
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for this serialization.</param>
|
|
// Token: 0x06000EA5 RID: 3749 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000EA5")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "8")]
|
|
protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
|
{
|
|
}
|
|
|
|
/// <summary>When overridden by a descendant class, closes the response stream.</summary>
|
|
/// <exception cref="T:System.NotSupportedException">Any attempt is made to access the method, when the method is not overridden in a descendant class.</exception>
|
|
// Token: 0x06000EA6 RID: 3750 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000EA6")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "9")]
|
|
public virtual void Close()
|
|
{
|
|
}
|
|
|
|
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.WebResponse" /> object.</summary>
|
|
// Token: 0x06000EA7 RID: 3751 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000EA7")]
|
|
[Address(RVA = "0x409DF0", Offset = "0x408BF0", VA = "0x180409DF0", Slot = "7")]
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.WebResponse" /> object, and optionally disposes of the managed resources.</summary>
|
|
/// <param name="disposing">
|
|
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to releases only unmanaged resources.</param>
|
|
// Token: 0x06000EA8 RID: 3752 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000EA8")]
|
|
[Address(RVA = "0x409E60", Offset = "0x408C60", VA = "0x180409E60", Slot = "10")]
|
|
protected virtual void Dispose(bool disposing)
|
|
{
|
|
}
|
|
|
|
/// <summary>When overridden in a descendant class, returns the data stream from the Internet resource.</summary>
|
|
/// <returns>An instance of the <see cref="T:System.IO.Stream" /> class for reading data from the Internet resource.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">Any attempt is made to access the method, when the method is not overridden in a descendant class.</exception>
|
|
// Token: 0x06000EA9 RID: 3753 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000EA9")]
|
|
[Address(RVA = "0x409ED0", Offset = "0x408CD0", VA = "0x180409ED0", Slot = "11")]
|
|
public virtual Stream GetResponseStream()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, gets the URI of the Internet resource that actually responded to the request.</summary>
|
|
/// <returns>An instance of the <see cref="T:System.Uri" /> class that contains the URI of the Internet resource that actually responded to the request.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">Any attempt is made to get or set the property, when the property is not overridden in a descendant class.</exception>
|
|
// Token: 0x170002BC RID: 700
|
|
// (get) Token: 0x06000EAA RID: 3754 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170002BC")]
|
|
public virtual Uri ResponseUri
|
|
{
|
|
[Token(Token = "0x6000EAA")]
|
|
[Address(RVA = "0x409F50", Offset = "0x408D50", VA = "0x180409F50", Slot = "12")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, gets a collection of header name-value pairs associated with this request.</summary>
|
|
/// <returns>An instance of the <see cref="T:System.Net.WebHeaderCollection" /> class that contains header values associated with this response.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">Any attempt is made to get or set the property, when the property is not overridden in a descendant class.</exception>
|
|
// Token: 0x170002BD RID: 701
|
|
// (get) Token: 0x06000EAB RID: 3755 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170002BD")]
|
|
public virtual WebHeaderCollection Headers
|
|
{
|
|
[Token(Token = "0x6000EAB")]
|
|
[Address(RVA = "0x409F10", Offset = "0x408D10", VA = "0x180409F10", Slot = "13")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|