Export (0) Print
Expand All

CAtlHttpClientT::GetRawResponseHeader 

Call this method to retrieve a copy of the last HTTP response headers received.


bool GetRawResponseHeader(
   LPBYTE szBuffer,
   DWORD* pdwLen 
) throw( );

Parameters

szBuffer

A pointer to a buffer that is to receive the response header data. If 0, the size of the response headers is returned by the pdwLen argument, and the header data is not retrieved.

pdwLen

The size of the buffer.

true if successful, otherwise false.

The size specified by pdwLen must be sufficient for storage of the response header data. The required size can be determined either by using the GetRawResponseHeaderLength method or by passing 0 for the szBuffer argument.

Community Additions

ADD
Show:
© 2014 Microsoft