@HTTPSGet
Syntax
@HTTPSGet(SERVER1;PAGE2);
@HTTPSGet(SERVER1;PAGE2;PORT3);
@HTTPSGet(SERVER1;PAGE2;PORT3;FNTIMEOUT4);
@HTTPSGet(SERVER1;PAGE2;PORT3;FNTIMEOUT4;FNDATATYPERETURNFLAG5);
@HTTPSGet(SERVER1;PAGE2;PORT3;FNTIMEOUT4;FNDATATYPERETURNFLAG5;VSTACKPATHCUSTOMHEADER);
@HTTPSGet(SERVER1;PAGE2;PORT3;FNTIMEOUT4;FNDATATYPERETURNFLAG5;VSTACKPATHCUSTOMHEADER;FNRECEIVEBUFFERSIZE);
@HTTPSGet(SERVER1;PAGE2;PORT3;FNTIMEOUT4;FNDATATYPERETURNFLAG5;VSTACKPATHCUSTOMHEADER;FNRECEIVEBUFFERSIZE;FNOPTIONS);
@HTTPSGet(SERVER1;PAGE2;PORT3;FNTIMEOUT4;FNDATATYPERETURNFLAG5;VSTACKPATHCUSTOMHEADER;FNRECEIVEBUFFERSIZE;FNOPTIONS;TEXTHEADEREND);
@HTTPSGet(SERVER1;PAGE2;PORT3;FNTIMEOUT4;FNDATATYPERETURNFLAG5;VSTACKPATHCUSTOMHEADER;FNRECEIVEBUFFERSIZE;FNOPTIONS;TEXTHEADEREND;RETBINBSENDDATA);
Description
Currently available for Windows only!!!
Returns the HTML code of a web page as TEXT returned. In addition to TEXT SERVER1 und TEXT PAGE2 a port number FN/TEXT PORT3 can optionally be specified. If omitted, 443 (HTTPS) is used by default. FN FNTIMEOUT4 is reserved and is currently not used (10 should be specified).
Server certificates are not yet verified.
Optional FNDATATYPERETURNFLAG5:
0=TEXT (default)
1=RT
2=BINBUFFER
Optional VSTACKPATHCUSTOMHEADER:
If a VStack path is specified here, the text variables on the VStack are converted into header fields for the HTTP request. In that case, the "GET" request must also be present on the VStack!
Optional FNRECEIVEBUFFERSIZE:
The size of the receive buffer can be specified. It can never be smaller than 64514 bytes (= default size); a smaller specified value is automatically increased accordingly.
Optional FNOPTIONS:
The following options apply only if a VSTACKPATHCUSTOMHEADER has been specified!
1 = At the end of the data block, /r/n is appended (default)
2 = At the end of each TEXT variable, /r/n is appended (default)
4 = At the end of the data block, a NULL character (0x00) is appended
8 = At the end of each TEXT variable, /r/n is appended if it is not the last variable on the stack.
16= If the byte sequence \r\n\r\n is received as the last 4 bytes of the most recently received packet, receiving is considered complete and the @Function returns.
Optional TEXTHEADEREND:
A TEXT value can be specified here to signal the end of the header lines. If an empty string ("") is specified, the value is ignored (default).
Optional RETBINBSENDDATA:
The sent request is returned here as BINBUFFER is returned.
Example: @HTTPSGet(SERVER1;PAGE2);
@HTTPSGet("www.slnetsolutions.de";"/");
Example: @HTTPSGet(SERVER1;PAGE2;PORT3);
@HTTPSGet("www.slnetsolutions.de";"/";443);
Example: @HTTPSGet(SERVER1;PAGE2;PORT3;FNTIMEOUT4);
@HTTPSGet("www.slnetsolutions.de";"/";443;15);
Timeout set to 15 seconds.
Note : This text was machine-translated and may contain inaccuracies.
