HttpOption - cHttpClient¶
Include: Use System\Http.pkg
Sets an HTTP request option.
Type: Procedure Set
Parameters¶
| Parameter | Type | Description |
|---|---|---|
eOption |
HttpOption | Option constant. |
vVal |
Variant | Option value. |
Syntax¶
Procedure Set HttpOption HttpOption eOption Variant vVal
Call¶
Set HttpOption of hoObj to C_HttpOption_Timeout 30
Description¶
Supported option constants:
| Constant | Description |
|---|---|
C_HttpOption_Follow |
Follow redirects. |
C_HttpOption_Secure_VerifyPeer |
Verify the peer certificate. |
C_HttpOption_Secure_VerifyHost |
Verify the certificate host name. |
C_HttpOption_Secure_VerifyStatus |
Verify certificate status where supported. |
C_HttpOption_Timeout |
Set the request timeout. |
C_HttpOption_Verbose |
Enable verbose transfer diagnostics. |
C_HttpOption_IpMode |
Select the IP protocol mode. |