The HttpRequest type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| HttpRequest | Initializes a new instance of the HttpRequest class |
Methods
| Name | Description | |
|---|---|---|
| AddHeader |
Called during parsing of a IHttpRequest.
| |
| AddToBody |
Add bytes to the body
| |
| Clear |
Clear everything in the request
| |
| Clone |
Creates a new object that is a copy of the current instance.
| |
| CreateResponse |
Create a response object.
| |
| DecodeBody |
Decode body into a form.
| |
| Equals | (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.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| SetCookies |
Cookies
| |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| UriSplitters |
Chars used to split an URL path into multiple parts.
|
Properties
| Name | Description | |
|---|---|---|
| AcceptTypes |
Gets kind of types accepted by the client.
| |
| Body |
Gets or sets body stream.
| |
| BodyIsComplete |
Gets whether the body is complete.
| |
| Connection |
Gets or sets kind of connection used for the session.
| |
| ContentLength |
Gets or sets number of bytes in the body.
| |
| Cookies |
Gets cookies that was sent with the request.
| |
| Form |
Gets form parameters.
| |
| Headers |
Gets headers sent by the client.
| |
| HttpVersion |
Gets or sets version of HTTP protocol that's used.
| |
| IsAjax |
Gets whether the request was made by Ajax (Asynchronous JavaScript)
| |
| Method |
Gets or sets requested method.
| |
| Param |
Gets parameter from QueryString or Form.
| |
| QueryString |
Gets variables sent in the query string
| |
| Secure |
Gets or sets a value indicating whether this HttpRequest is secure.
| |
| Uri |
Gets or sets requested URI.
| |
| UriParts |
Uri absolute path splitted into parts.
| |
| UriPath |
Path and query (will be merged with the host header) and put in Uri
|