The CachedResponse type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | CachedResponse(String) |
Initialises a new instance of the CachedResponse class, using the specified url.
|
![]() | CachedResponse(Url) |
Initialises a new instance of the CachedResponse class, using the specified Url.
|
![]() | CachedResponse(IntPtr, Boolean) |
For internal use only. Of no interest to the user.
|
Methods
Name | Description | |
---|---|---|
![]() | ClearHeaders |
Removes all the HTTP response headers from this CachedResponse.
|
![]() | ContainsHeader |
Determines whether this CachedResponse contains the specified HTTP header.
|
![]() | Dispose | Releases all resources used by the CachedResponse |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | getCPtr |
For internal use only. Of no interest to the user.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetHeaderKeys |
Gets a list of names of all the HTTP response headers set in this CachedResponse.
|
![]() | GetHeaders |
Gets the HTTP response headers for this CachedResponse.
|
![]() | GetHeaderValue |
Gets the value of the specified HTTP response header.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RemoveHeader |
Removes a specified HTTP response header from this CachedResponse.
|
![]() | SetHeader(String) |
Sets an HTTP response header for this CachedResponse, using the contents of the specified string.
|
![]() | SetHeader(String, String) |
Sets an HTTP response header for this CachedResponse, as a name/value pair.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UnsetReferer |
Removes the "Referer" HTTP header.
|
Properties
Name | Description | |
---|---|---|
![]() | CharEncoding |
Gets or sets the character encoding that is used to decode the data contained
in this CachedResponse, for example "UTF-8".
|
![]() | ContentType |
Gets or sets the value of the "Content-Type" HTTP header.
|
![]() | HasReferer |
Gets a value that indicates whether the "Referer" HTTP header has been set for this CachedResponse.
|
![]() | Referer |
Gets or sets the value of the "Referer" HTTP header.
|
![]() | Url |
Gets the Url that this CachedResponse represents a response to.
|
![]() | UserAgent |
Gets or sets the value of the "User-Agent" HTTP header.
|
See Also