This documentation is archived and is not being maintained.

HttpWorkerRequest Members

HttpWorkerRequest overview

Public Constructors

public constructorHttpWorkerRequest Constructor [To be supplied.]

Public Fields

public fieldstatic (Shared in Visual Basic)HeaderAccept Specifies the index number for the Accept HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderAcceptCharset Specifies the index number for the Accept-Charset HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderAcceptEncoding Specifies the index number for the Accept-Encoding HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderAcceptLanguage Specifies the index number for the Accept-Language HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderAcceptRanges Specifies the index number for the Accept-Ranges HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderAge Specifies the index number for the Age HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderAllow Specifies the index number for the Allow HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderAuthorization Specifies the index number for the Authorization HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderCacheControl The index that represents the HTTP Cache-Control HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderConnection Specifies the index number for the Connection HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderContentEncoding Specifies the index number for the Content-Encoding HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderContentLanguage Specifies the index number for the Content-Language HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderContentLength Specifies the index number for the Content-Length HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderContentLocation Specifies the index number for the Content-Location HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderContentMd5 Specifies the index number for the Content-MD5 HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderContentRange Specifies the index number for the Content-Range HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderContentType Specifies the index number for the Content-Type HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderCookie Specifies the index number for the Cookie HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderDate Specifies the index number for the Date HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderEtag Specifies the index number for the ETag HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderExpect Specifies the index number for the Except HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderExpires Specifies the index number for the Expires HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderFrom Specifies the index number for the From HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderHost Specifies the index number for the Host HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderIfMatch Specifies the index number for the If-Match HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderIfModifiedSince Specifies the index number for the If-Modified-Since HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderIfNoneMatch Specifies the index number for the If-None-Match HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderIfRange Specifies the index number for the If-Range HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderIfUnmodifiedSince Specifies the index number for the If-Unmodified-Since HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderKeepAlive Specifies the index number for the Keep-Alive HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderLastModified Specifies the index number for the Last-Modified HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderLocation Specifies the index number for the Location HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderMaxForwards Specifies the index number for the Max-Forwards HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderPragma Specifies the index number for the Pragma HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderProxyAuthenticate Specifies the index number for the Proxy-Authenticate HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderProxyAuthorization Specifies the index number for the Proxy-Authorization HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderRange Specifies the index number for the Range HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderReferer Specifies the index number for the Referer HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderRetryAfter Specifies the index number for the Retry-After HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderServer Specifies the index number for the Server HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderSetCookie Specifies the index number for the Set-Cookie HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderTe Specifies the index number for the TE HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderTrailer Specifies the index number for the Trailer HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderTransferEncoding Specifies the index number for the Transfer-Encoding HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderUpgrade Specifies the index number for the Upgrade HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderUserAgent Specifies the index number for the User-Agent HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderVary Specifies the index number for the Vary HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderVia Specifies the index number for the Via HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderWarning Specifies the index number for the Warning HTTP header.
public fieldstatic (Shared in Visual Basic)HeaderWwwAuthenticate Specifies the index number for the WWW-Authenticate HTTP header.
public fieldstatic (Shared in Visual Basic)RequestHeaderMaximum Specifies the index number for the Maximum HTTP request header.
public fieldstatic (Shared in Visual Basic)ResponseHeaderMaximum Specifies the index number for the Maximum HTTP response header.

Public Properties

public propertyMachineConfigPath Gets the full physical path to the Machine.config file.
public propertyMachineInstallDirectory Gets the physical path to the directory where the ASP.NET binaries are installed.

Public Methods

public methodCloseConnection Terminates the connection with the client.
public methodEndOfRequest Used by the runtime to notify the HttpWorkerRequest that request processing for the current request is complete.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodFlushResponse Sends all pending response data to the client.
public methodGetAppPath Returns the virtual path to the currently executing server application.
public methodGetAppPathTranslated Returns the physical path to the currently executing server application.
public methodGetFilePath When overridden in a derived class, returns the physical path to the requested URI.
public methodGetFilePathTranslated Returns the physical file path to the requested URI (and translates it from virtual path to physical path: for example, "/proj1/page.aspx" to "c:\dir\page.aspx")
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetHttpVerbName Returns the specified member of the request header.
public methodGetHttpVersion Provides access to the HTTP version of the request (for example, "HTTP/1.1").
public methodGetKnownRequestHeader Returns the standard HTTP request header that corresponds to the specified index.
public methodstatic (Shared in Visual Basic)GetKnownRequestHeaderIndex Returns the index number of the specified HTTP request header.
public methodstatic (Shared in Visual Basic)GetKnownRequestHeaderName Returns the name of the specified HTTP request header.
public methodstatic (Shared in Visual Basic)GetKnownResponseHeaderIndex Returns the index number of the specified HTTP response header.
public methodstatic (Shared in Visual Basic)GetKnownResponseHeaderName Returns the name of the specified HTTP response header.
public methodGetLocalAddress Provides access to the specified member of the request header.
public methodGetLocalPort Provides access to the specified member of the request header.
public methodGetPathInfo Returns additional path information for a resource with a URL extension. That is, for the path/virdir/page.html/tail, the GetPathInfo value is/tail.
public methodGetPreloadedEntityBody Returns the portion of the HTTP request body that has already been read.
public methodGetProtocol When overridden in a derived class, returns the HTTP protocol (HTTP or HTTPS).
public methodGetQueryString Returns the query string specified in the request URL.
public methodGetQueryStringRawBytes When overridden in a derived class, returns the response query string as an array of bytes.
public methodGetRawUrl Returns the URL path contained in the request header with the query string appended.
public methodGetRemoteAddress Provides access to the specified member of the request header.
public methodGetRemoteName When overridden in a derived class, returns the name of the client computer.
public methodGetRemotePort Provides access to the specified member of the request header.
public methodGetServerName When overridden in a derived class, returns the name of the local server.
public methodGetServerVariable Returns a single server variable from a dictionary of server variables associated with the request.
public methodstatic (Shared in Visual Basic)GetStatusDescription Returns a string that describes the name of the specified HTTP status code.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodGetUnknownRequestHeader Returns a nonstandard HTTP request header value.
public methodGetUnknownRequestHeaders Get all nonstandard HTTP header name-value pairs.
public methodGetUriPath Returns the virtual path to the requested URI.
public methodGetUserToken When overridden in a derived class, returns the client's impersonation token.
public methodHasEntityBody Returns a value indicating whether the request contains body data.
public methodHeadersSent Returns a value indicating whether HTTP response headers have been sent to the client for the current request.
public methodIsClientConnected Returns a value indicating whether the client connection is still active.
public methodIsEntireEntityBodyIsPreloaded Returns a value indicating whether all request data is available and no further reads from the client are required.
public methodIsSecure Returns a value indicating whether the connection uses SSL.
public methodMapPath Returns the physical path corresponding to the specified virtual path.
public methodReadEntityBody Reads request data from the client (when not preloaded).
public methodSendCalculatedContentLength Adds a Content-Length HTTP header to the response.
public methodSendKnownResponseHeader Adds a standard HTTP header to the response.
public methodSendResponseFromFile Overloaded. Adds the contents of a file to the response.
public methodSendResponseFromMemory Overloaded. Adds the contents of a memory block to the response.
public methodSendStatus Specifies the HTTP status code and status description of the response; for example SendStatus(200, "Ok").
public methodSendUnknownResponseHeader Adds a nonstandard HTTP header to the response.
public methodSetEndOfSendNotification Registers for an optional notification when all the response data is sent.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HttpWorkerRequest Class | System.Web Namespace

Show: