O'Reilly logo

ASP.NET in a Nutshell by Matthew MacDonald, G. Andrew Duthie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

HttpWorkerRequest

Synopsis

This abstract class defines the base worker methods and enumerations used for request processing by the ASP.NET engine. It is used by the HttpContext constructor and the ProcessRequest() method of the HttpRuntime class. You will not need to use it directly in your code because ASP.NET provides higher-level objects like HttpResponse and HttpRequest. However, you can use the System.Web.Hosting.SimpleWorkerRequest class, which extends HttpWorkerRequest and allows you to host ASP.NET outside of IIS.

Public MustInherit Class HttpWorkerRequest : Implements IHttpMapPath
' Protected Constructors
   Protected Sub New() 
' Public Shared Fields
   public const HeaderAccept As Integer                          // =20
   public const HeaderAcceptCharset As Integer                   // =21
   public const HeaderAcceptEncoding As Integer                  // =22
   public const HeaderAcceptLanguage As Integer                  // =23
   public const HeaderAcceptRanges As Integer                    // =20
   public const HeaderAge As Integer                             // =21
   public const HeaderAllow As Integer                           // =10
   public const HeaderAuthorization As Integer                   // =24
   public const HeaderCacheControl As Integer                    // =0
   public const HeaderConnection As Integer                      // =1
   public const HeaderContentEncoding As Integer                 // =13
   public const HeaderContentLanguage As Integer                 // =14
   public const HeaderContentLength As Integer                   // =11
   public const HeaderContentLocation As Integer                 // =15
   public const HeaderContentMd5 As Integer                      // =16
   public const HeaderContentRange As Integer                    // =17
   public const HeaderContentType As Integer //  ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required