Function CSPResponse::AddHeader()

Description:
Appends a custom header to the HTTP request.

Prototype:
void AddHeader(const CSPString& strName, const CSPString& strContent);

Arguments:
  • const CSPString& strName [IN]
    Name of the HTTP header.

  • const CSPString& strContent [IN]
    Content of the HTTP header.



Return value:
No return value (void).

Remarks:
This function should be called before any data is sent to the client.

Examples:
Response.AddHeader( "Cache-control", "private" );
CSPResponse | Intrinsic objects and classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd