HttpRequest Members
From HttpServer.dll
| C# Webserver |
| HttpRequest Members |
| HttpRequest Class Constructors Methods Fields Properties See Also Send Feedback |
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 HttpRequest.
| |
| Clone |
Creates a new object that is a copy of the current instance.
| |
| 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.) | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| UriSplitters |
Chars used to split an url path into multiple parts.
|
Properties
| Name | Description | |
|---|---|---|
| AcceptTypes |
Kind of types accepted by the client.
| |
| Body |
Submitted body contents
| |
| BodyIsComplete |
Have all body content bytes been received?
| |
| Connection |
Kind of connection used for the session.
| |
| ContentLength |
Number of bytes in the body
| |
| Cookies | Returns set cookies for the request | |
| Form |
Form parameters.
| |
| Headers |
Headers sent by the client. All names are in lower case.
| |
| HttpVersion |
Version of http.
Probably HttpHelper.HTTP10 or HttpHelper.HTTP11
| |
| IsAjax | Returns true if the request was made by Ajax (Asyncronous Javascript) | |
| Method |
Requested method, always upper case.
| |
| Param |
Check's both QueryString and Form after the parameter.
| |
| QueryString |
Variables sent in the query string
| |
| Uri |
Requested URI (url)
| |
| UriParts |
Uri absolute path splitted into parts.
|