Click to Rate and Give Feedback
MSDN
MSDN Library
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
 
IIS 7.0: IHttpRequest Interface 
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Provides an interface to an HTTP request object. You can use the methods in the IHttpRequest interface to retrieve and modify data in the current HTTP request.

class IHttpRequest

The following table lists the methods exposed by the IHttpRequest interface.

Name Description

DeleteHeader

Deletes an HTTP header from the request.

GetClientCertificate

Retrieves the client certificate associated with the request.

GetForwardedUrl

Returns the forwarded URL.

GetHeader

Returns the value of a specified HTTP header.

GetHeaderChanges

Retrieves the changes to the server headers for the current request.

GetHttpMethod

Returns the HTTP method for the current request.

GetHttpVersion

Returns the HTTP version for the request.

GetLocalAddress

Returns the address of the local interface for the current request.

GetRawHttpRequest

Returns a structure that contains the raw HTTP request.

GetRemainingEntityBytes

Returns the number of remaining bytes to be read from the client.

GetRemoteAddress

Returns the remote address of the client's interface for the current request.

GetSiteId

Retrieves the site ID for the current HTTP request.

GetUrlChanged

Determines whether the request URL has been modified.

NegotiateClientCertificate

Initiates client certificate negotiation with a Web client.

ReadEntityBody

Returns the HTTP request entity body.

SetEntityBody

Replaces the existing HTTP request body with new data.

SetHeader

Sets or appends the value of a specified HTTP request header.

SetHttpMethod

Sets the HTTP method for the request.

SetUrl

Modifies the request URL.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker