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: IHttpResponse 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 response object. You can use the methods in the IHttpResponse interface to retrieve and modify data in the current HTTP response.

class IHttpResponse

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

Topic Description

Clear

Clears the response entity.

ClearHeaders

Clears the response headers and sets headers to default values.

DeleteHeader

Deletes a specified HTTP header.

DisableBuffering

Disables response buffering for the current request.

DisableKernelCache

Disables the kernel cache for this response.

Flush

Sends the existing content in the response buffer to the client.

GetCachePolicy

Retrieves the response output cache policy.

GetErrorDescription

Retrieves the custom error description.

GetHeader

Returns the value of a specified HTTP header.

GetHeaderChanges

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

GetHeadersSuppressed

Determines whether the response status and headers are suppressed.

GetKernelCacheEnabled

Determines whether the kernel cache is enabled for the current response.

GetRawHttpResponse

Retrieves a structure that contains the raw HTTP response.

GetStatus

Retrieves the HTTP status for the response.

Redirect

Redirects the client to a specified URL.

ResetConnection

Resets the socket connection immediately.

SetErrorDescription

Specifies the custom error description.

SetHeader

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

SetNeedDisconnect

Resets the socket after the response is complete.

SetStatus

Sets the HTTP status for the response.

SuppressHeaders

Suppresses the response status and headers.

WriteEntityChunkByReference

Inserts or appends an HTTP_DATA_CHUNK structure into the response body.

WriteEntityChunks

Appends one or more HTTP_DATA_CHUNK structures to the response body.

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