Goto: 4C Home | 4C Docs | 4C External Libraries Home | FCCom Home | FCCom Function List SetReqHeader()

SetReqHeader()

Purpose:
FCCom::SetReqHeader() sets a headername/headerval combination that will be sent with the next FCCom::HttpRequest() call.
Usage:
ret = FCCom::SetReqHeader(<connident>,<headername>,<headerval>);
Arguments:

integer <connident> - A connection id returned by an earlier call to FCCom:Alloc().
Returns:
0 - OK
-1 - Invalid <connident>
Where Used:
FCCom::SetReqHeader() can be called anytime you have a valid connection id.
Example:
Example
Description:
FCCom::SetReqHeader() sets a headername/headerval combination that will be sent with the next FCCom::HttpRequest() call. If <headerval> is "" then the single request header is removed from the list of headers that will be sent with the next FCCom::Httprequest.
Bugs/Features/Comments:
See Also:
FCCom Function List


Back to Top