Promotic

setOption - method of the HttpRequest object

Description:
Sets the requested transmission property.. (Only for MSXML2.ServerXMLHTTP.6.0)
Syntax:
String setOption(Integer nOption, Variant vVal)
Parameters:
nOption(Integer) Options available for the setOption method.
0 - SXH_OPTION_URL_CODEPAGE Sets the code page used for conversion of the URL string to Unicode.
1 - SXH_OPTION_ESCAPE_PERCENT_IN_URL Setting unsafe ANSI characters in the URL (for example, " " -> "%20").
2 - SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS Sets the mask of flags.
3 - SXH_OPTION_SELECT_CLIENT_SSL_CERT The name of the certificate in the local storage to be sent if the server requests a client certificate.
vVal(Variant) The value of the desired setting
See also:
Example1:
JavaScriptVBScriptSelect and copy to clipboard

oReq.setOption(2, 8192);
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.