This class represents a HTTP request. It is mostly used internally but can also be used by application developers if creating requests programmatically rather then passing on requests from a client application such as a web browser.
The following tables list the members exposed by Request.
Public Constructors
Public Properties
| Name | Description | |
|---|---|---|
|
ContentLength | The length of the content if a body is present in the request |
|
ContentReceived | The amount of the content yet received |
|
ContentStream | A stream to access the content |
|
FinishTime | The time at which the request was completed |
|
Headers | The headers of the HTTP request |
|
Method | The HTTP method to be used in the request (ie. GET, POST etc.) |
|
StartTime | The time at which the request started |
|
Url | The Url of the resource being requested |
|
Version | The HTTP version being used |
Public Methods
| Name | Description | |
|---|---|---|
|
Clone | Clones a request so that a new request can be generated without altering the state of the original request. |
|
Equals | Determines whether the specified |
|
GetHashCode | Serves as a hash function for a particular type. |
|
GetHeader | Helper function to get a header from the request headers |
|
GetType | Gets the |
|
ToString | Returns a |
Protected Methods
| Name | Description | |
|---|---|---|
|
Finalize | Allows an |
|
MemberwiseClone | Creates a shallow copy of the current |