Adds a request header.
Input Arguments
Name
Type
Mandatory
Description
String (Unicode)
Yes
The name of the header.
Value
The value of the header.
Return Value
None
Examples
The following example add a request header called X-VERSION.
Define_Com Class(#XPRIM_HttpRequest) Name(#Request)
#Request.Options.AddHeader Name('X-VERSION') Value('1.0')