BE_HTTP_SetCustomHeader ( 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
4.0.2 : Renamed from BE_HTTP_Set_Custom_Header


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_SetCustomHeader ( "Content-Type" ; "text/xml;charset=utf-8" ) //sets the text and charset values

Have more questions? Submit a request


Please sign in to leave a comment.