11.4.1 Options Property

Specifies various aspects of the HTTP request, such as header values and timeout period.

Property Type

XPRIM_HttpRequestOptions

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')