BE_HTTP_Set_Custom_Header

BE_HTTP_Set_Custom_Header ( header ; value )

 

Used for setting a header value before a HTTP function call. You can call this function multiple times before the POST to set more than one header, and call it with empty parameters to clear them out.

 

Version : 1.3

 

Parameters :
header : the name of the header to set.
value : the value to set it to.

 

Result : Returns an error code if possible, and 0 ( for no error ) on success. Other errors are logged and can be retrieved with BE_GetLastError.

 

Example :

BE_HTTP_Set_Custom_Header ( "Content-Type" ; "text/xml;charset=utf-8" ) //sets the text and charset values

Have more questions? Submit a request

0 Comments

Article is closed for comments.