HttpRequest
Wisej.Core.HttpRequest
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.0.0.0)
Encapsulates HTTP-request information for an ASP.NET operation.
public class HttpRequest
Constructors
HttpRequest(context, request)

Constructs an new instance HttpRequest initialized from the original HttpRequest.
Properties
ContentLength

Int64: Returns the length, in bytes, of content sent by the client.
ContentType

String: Returns the MIME content type of the incoming request.
Context

HttpContext: Returns the current HttpContext.
Files

HttpFileCollection: Returns the collection of HttpPostedFile uploaded by the client.
Form

NameValueCollection: Returns the collection of form values posted with the HTTP request.
Headers

NameValueCollection: Returns a collection of HTTP headers.
InputStream

Stream: Returns the contents of the incoming HTTP entity body.
IsLocal

Boolean: Returns whether the request is from the local computer.
Item(key)

String: Returns the specified value from the QueryString or Form collections.
Path

String: Returns the virtual path of the current request.
QueryString

NameValueCollection: Returns the collection of arguments specified in the application URL.
RequestType

String: Returns the HTTP data transfer method (GET or POST) used by the client.
ServerVariables

NameValueCollection: Returns the collection of server variables..
TotalBytes

Int64: Returns the number of bytes in the current InputStream.
Url

Uri: Returns the URL of the current request.
UrlReferrer

Uri: Returns information about the URL of the client's previous request that linked to the current URL.
UserAgent

String: Returns the raw user agent string of the client browser.
UserHostAddress

String: Returns the IP host address of the remote client.
UserHostName

String: Returns the DNS name of the remote client.
UserLanguages

String[]: Returns a sorted string array of client language preferences.
Last updated
Was this helpful?