The HttpResponse type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close |
Closes the response stream returned by GetResponseStream()()()() method.
(Overrides WebResponse..::..Close()()()().) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetResponseStream |
Returns a stream that contains data of the response.
(Overrides WebResponse..::..GetResponseStream()()()().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Cipher |
Gets information about the TLS/SSL cipher (if TLS/SSL is in use).
| |
ContentEncoding |
Gets a value of HTTP Content-Encoding header of this response.
| |
ContentLength |
Gets a value of HTTP Content-Length header of this response.
(Overrides WebResponse..::..ContentLength.) | |
ContentType |
Gets a value of HTTP Content-Type header of this response.
(Overrides WebResponse..::..ContentType.) | |
Headers |
Gets a collection of HTTP header of this response.
(Overrides WebResponse..::..Headers.) | |
CharacterSet |
Gets a character set that is used in response Content-Type HTTP header.
| |
LastModified |
Gets a value of the Last-Modified header, which indicates the last modification date and time of the resource.
| |
Method |
Gets a HTTP method that a request used when received this response.
| |
ProtocolVersion |
Gets HTTP protocol version of this response.
| |
ResponseUri |
Gets a uri that responsed to the request.
(Overrides WebResponse..::..ResponseUri.) | |
Server |
Gets a value of HTTP Server header of this response.
| |
StatusCode |
Gets a status code of the response.
| |
StatusDescription |
Gets a status code description.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposable..::..Dispose | (Inherited from WebResponse.) |