The ClearHeaders method removes all custom HTTP request headers for the client session.
Parameters
None.
Return Value
If the method succeeds, the return value is non-zero. If the method
fails, the return value is zero. To get extended error information, call
GetLastError.
Remarks
The ClearHeaders method removes all custom request header values
set using the SetHeader method. This is useful when you want to
ensure that custom headers used for a previous call to SendMessage
are not included with subsequent requests made during the same session.
This method does not clear authentication credentials, organization
identifiers, project identifiers, or any required headers automatically
generated by the control.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csllmv12.lib
See Also
|