Click or drag to resize
IHttpContext Interface
Encapsulates all HTTP-specific information about an individual HTTP request.

Namespace: CMS.Base.Internal
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public interface IHttpContext

The IHttpContext type exposes the following members.

Properties
  NameDescription
Public propertyApplicationInstance
Gets the IHttpApplication object for the current HTTP request.
Public propertyItems
Gets a key/value collection that can be used to organize and share data during an HTTP request.
Public propertyRequest
Gets the IRequest object for the current HTTP request.
Public propertyResponse
Gets the IResponse object for the current HTTP response.
Public propertySession
Gets the ISession object for the current HTTP request.
Public propertyUser
Gets or sets the IPrincipal object for the current HTTP request.
Top
Extension Methods
  NameDescription
Public Extension MethodKentico
Returns a feature set for the specified request.
(Defined by HttpContextExtensions.)
Public Extension MethodSetRequestCulture
Stores the cultureCode which should be used by the thread handling the request.
(Defined by HttpContextExtensions.)
Top
See Also