Export (0) Print
Expand All

SimpleWorkerRequest Methods

The methods of the SimpleWorkerRequest class are listed here. For a complete list of SimpleWorkerRequest class members, see the SimpleWorkerRequest Members topic.

Public Methods

public methodCloseConnection (inherited from HttpWorkerRequest) Terminates the connection with the client.
public methodEndOfRequest Overridden. Notifies 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 Overridden. Sends all pending response data to the client.
public methodGetAppPath Overridden. Returns the virtual path to the currently executing server application.
public methodGetAppPathTranslated Overridden. Returns the UNC-translated path to the currently executing server application.
public methodGetFilePath Overridden. Returns the physical path to the requested URI.
public methodGetFilePathTranslated Overridden. 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 Overridden. Returns the specified member of the request header.
public methodGetHttpVersion Overridden. Returns the HTTP version of the request (for example, "HTTP/1.1").
public methodGetKnownRequestHeader (inherited from HttpWorkerRequest) Returns the standard HTTP request header that corresponds to the specified index.
public methodGetLocalAddress Overridden. Returns the server IP address that is in the request header.
public methodGetLocalPort Overridden. Provides access to the specified member of the request header.
public methodGetPathInfo Overridden. Returns additional path information for a resource with a URL extension. That is, for the path/virdir/page.html/tail, the return value is/tail.
public methodGetPreloadedEntityBody (inherited from HttpWorkerRequest) Returns the portion of the HTTP request body that has already been read.
public methodGetProtocol (inherited from HttpWorkerRequest) When overridden in a derived class, returns the HTTP protocol (HTTP or HTTPS).
public methodGetQueryString Overridden. Returns the query string specified in the request URL.
public methodGetQueryStringRawBytes (inherited from HttpWorkerRequest) When overridden in a derived class, returns the response query string as an array of bytes.
public methodGetRawUrl Overridden. Returns the URL path contained in the request header with the query string appended.
public methodGetRemoteAddress Overridden. Returns the IP address of the client.
public methodGetRemoteName (inherited from HttpWorkerRequest) When overridden in a derived class, returns the name of the client computer.
public methodGetRemotePort Overridden. Returns the client's port number.
public methodGetServerName (inherited from HttpWorkerRequest) When overridden in a derived class, returns the name of the local server.
public methodGetServerVariable Overridden. Returns a single server variable from a dictionary of server variables associated with the request.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodGetUnknownRequestHeader (inherited from HttpWorkerRequest) Returns a nonstandard HTTP request header value.
public methodGetUnknownRequestHeaders (inherited from HttpWorkerRequest) Get all nonstandard HTTP header name-value pairs.
public methodGetUriPath Overridden. Returns the virtual path to the requested URI.
public methodGetUserToken Overridden. Returns the client's impersonation token.
public methodHasEntityBody (inherited from HttpWorkerRequest) Returns a value indicating whether the request contains body data.
public methodHeadersSent (inherited from HttpWorkerRequest) Returns a value indicating whether HTTP response headers have been sent to the client for the current request.
public methodIsClientConnected (inherited from HttpWorkerRequest) Returns a value indicating whether the client connection is still active.
public methodIsEntireEntityBodyIsPreloaded (inherited from HttpWorkerRequest) Returns a value indicating whether all request data is available and no further reads from the client are required.
public methodIsSecure (inherited from HttpWorkerRequest) Returns a value indicating whether the connection uses SSL.
public methodMapPath Overridden. Returns the physical path corresponding to the specified virtual path.
public methodReadEntityBody (inherited from HttpWorkerRequest) Reads request data from the client (when not preloaded).
public methodSendCalculatedContentLength (inherited from HttpWorkerRequest) Adds a Content-Length HTTP header to the response.
public methodSendKnownResponseHeader Overridden. Adds a standard HTTP header to the response.
public methodSendResponseFromFile Overloaded. Overridden. Adds the contents of a file to the response.
public methodSendResponseFromMemory Overloaded.
public methodSendStatus Overridden. Specifies the HTTP status code and status description of the response; for example, SendStatus(200, "Ok").
public methodSendUnknownResponseHeader Overridden. Adds a nonstandard HTTP header to the response.
public methodSetEndOfSendNotification (inherited from HttpWorkerRequest) 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

SimpleWorkerRequest Class | System.Web.Hosting Namespace

Show:
© 2014 Microsoft