Mono Class Library: System.Web Namespace

System.Web.HttpContext Class

An object holding all the information relevant to the current HTTP request. [Edit]

See Also: HttpContext Members

public sealed class HttpContext : IServiceProvider

Remarks

This class is the hub for information about the current http request, it provides a high-level access to the underlying connection.

The most important properties are the HttpContext.Response and HttpContext.Request which give developers access to the input arguments and the output stream.

This class implements the IServiceProvider interface. The main use of this interface is to call the IServiceProvider.GetService(Type) method to obtain an instance of the System.Web.HttpWorkerRequest that is wrapped by this class.

[Edit]

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0