Click or drag to resize
IRequest Interface
Defines implementation capable of reading the HTTP values sent by a client during a Web request.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax
C#
public interface IRequest

The IRequest type exposes the following members.

Properties
  NameDescription
Public propertyAppRelativeCurrentExecutionFilePath
Gets the virtual path of the application root and makes it relative by using the tilde (~) notation for the application root (as in "~/page.aspx").
Public propertyBrowser
Gets information about the requesting client's browser capabilities.
Public propertyCookies
Gets the collection of cookies that were sent by the client.
Public propertyForm
Gets the collection of form variables that were sent by the client.
Public propertyHeaders
Gets the collection of HTTP headers that were sent by the client.
Public propertyHttpMethod
Gets the HTTP data-transfer method (such as GET, POST, or HEAD) that was used by the client.
Public propertyIsSecureConnection
Gets a value that indicates whether the HTTP connection uses secure sockets (HTTPS protocol).
Public propertyPhysicalApplicationPath
Gets the physical file-system path of the current application's root directory.
Public propertyQueryString
Gets the collection of HTTP query-string variables.
Public propertyRawUrl
Gets the complete URL of the current request.
Public propertyRequestContext
Gets the IRequestContext instance of the current request.
Public propertyServerVariables
Gets a collection of Web server variables.
Public propertyUrl
Gets information about the URL of the current request.
Public propertyUrlReferrer
Gets information about the URL of the client request that linked to the current URL.
Public propertyUserAgent
Gets the complete user-agent string of the client.
Public propertyUserHostAddress
Gets the IP host address of the client.
Public propertyUserLanguages
Gets a sorted array of client language preferences.
Top
Extension Methods
  NameDescription
Public Extension MethodGetEffectiveUrl
Returns effective URL with correct port number based on IsSSL property for Url property.
(Defined by HttpRequestExtensions.)
Top
See Also