CHttpFilterContext::AddResponseHeaders

BOOL AddResponseHeaders( LPTSTR lpszHeaders, DWORD dwReserved =0 );

Return Value

Nonzero if successful, otherwise 0.

Parameters

lpszHeaders

A pointer to a string containing headers to add.

dwReserved

Reserved for future use. Must be 0.

Remarks

Call this member function to add a header to an HTTP response. The header string is contained in lpszHeaders. See the HSE_REQ_SEND_RESPONSE_HEADER value described in the CHttpServerContext::ServerSupportFunction topic for information about how a CHttpServer object delivers information about an HTTP server response header.

CHttpFilterContext OverviewClass MembersHierarchy Chart