LlmClearHeaders Function  
 
BOOL WINAPI LlmClearHeaders(
  HCLIENT hClient  
);

The LlmClearHeaders function removes all custom HTTP request headers for the client session.

Parameters

hClient
A handle to the client session.

Return Value

If the function succeeds, the return value is non-zero. If the function fails, the return value is zero. To get extended error information, call LlmGetLastError.

Remarks

The LlmClearHeaders function removes all custom request header values set using the LlmSetRequestHeader method. This is useful when you want to ensure that custom headers used for a previous call to LlmSendMessage 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

LlmGetResponseHeader, LlmResetSession, LlmSendMessage, LlmSetRequestHeader