IResponse

The IResponse interface exposes the methods of the Response object.

Method Description
IResponse::AddHeader Adds a header to the HTML output.
IResponse::AppendToLog Adds a string to the end of the Web server log for the current request.
IResponse::BinaryWrite Writes data to the HTTP output without any character conversion.
IResponse::Clear Erases any buffered HTML output.
IResponse::End Causes the server to stop processing script and return the current response.
IResponse::Flush Sends buffered HTML output immediately.
IResponse::get_Buffer Retrieves the value of the Buffer property.
IResponse::get_CacheControl Retrieves the value for the CacheControl property.
IResponse::get_CharSet Retrieves the name of a character set to append to the content-type header.
IResponse::get_ContentType Retrieves the value of the ContentType property.
IResponse::get_Cookies Retrieves the write-only Cookies collection.
IResponse::get_Expires Retrieves the value of the Expires property.
IResponse::get_ExpiresAbsolute Retrieves the value of the ExpiresAbsolute property.
IResponse::get_Status Retrieves the value of the Status property.
IResponse::IsClientConnected Determines if the client has disconnected from the server.
IResponse::PICS Adds a value to the PICS label field of the Response header.
IResponse::put_Buffer Sets the value of the Buffer property.
IResponse::putCacheControl Set the value for the CacheControl property.
IResponse::putCharSet Adds a character set to the ContentType header.
IResponse::put_ContentType Sets the value of the ContentType property.
IResponse::put_Expires Sets the value of the Expires property.
IResponse::put_ExpiresAbsolute Sets the value of the ExpiresAbsolute property.
IResponse::put_Status Sets the value of the Status property.
IResponse::Redirect Causes the browser to attempt to connect to a different URL.
IResponse::Write Writes a variant to the HTTP output.

Note  This interface also supports the IUnknown and IDispatch interface methods. For more information, see \inetsrv\asp\cmpnts\asptlb.h, the header file installed with ASP.