Promotic

getOption - method of the HttpRequest object

Description:
Returns information about the requested transfer property.. (Only for MSXML2.ServerXMLHTTP.6.0)
Syntax:
String getOption(Integer nOption)
Parameters:
nOption(Integer) Options available for the getOption method.
-1 - SXH_OPTION_URL Last used destination URL address.
0 - SXH_OPTION_URL_CODEPAGE The code page used to convert the Unicode URL string.
1 - SXH_OPTION_ESCAPE_PERCENT_IN_URL Setting unsafe ANSI characters in a URL (for example " " -> "%20").
2 - SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS Returns a DWORD mask of various flags
SXH_SERVER_CERT_IGNORE_UNKNOWN_CA = 256
SXH_SERVER_CERT_IGNORE_WRONG_USAGE = 512
SXH_SERVER_CERT_IGNORE_CERT_CN_INVALID = 4096
SXH_SERVER_CERT_IGNORE_CERT_DATE_INVALID = 8192
SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS = 13056
3 - SXH_OPTION_SELECT_CLIENT_SSL_CERT The first certificate in the local repository to be sent, if the server requests the client certificate.
See also:
Example1:
JavaScriptVBScriptSelect and copy to clipboard

sOption = oReq.getOption(2);
PROMOTIC 9.0.18 SCADA system documentation - MICROSYS, spol. s r.o.

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