Difference between revisions of "GetHTTPPage"
From SCAR Divi Manual
(→See Also) |
|||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
− | < | + | <source lang="scar" lines="false"> |
+ | function GetHTTPPage(const iHttp: Integer; const URL: AnsiString): AnsiString; | ||
+ | </source> | ||
==Availability== | ==Availability== | ||
Line 6: | Line 8: | ||
==Description== | ==Description== | ||
− | This function | + | This function gets the content of a webpage specified by '''URL''' from an open HTTP connection specified by '''iHttp'''. |
==Example== | ==Example== | ||
Line 23: | Line 25: | ||
==See Also== | ==See Also== | ||
+ | *[[PostHTTPPage]] | ||
+ | *[[PostHTTPPageEx]] | ||
*[[InitializeHTTPClient]] | *[[InitializeHTTPClient]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Internet Functions]] | [[Category:Internet Functions]] |
Revision as of 11:35, 26 June 2011
Definition
function GetHTTPPage(const iHttp: Integer; const URL: AnsiString): AnsiString;
Availability
SCAR Divi 3.00 > Current
Description
This function gets the content of a webpage specified by URL from an open HTTP connection specified by iHttp.
Example
var i: Integer; begin i := InitializeHTTPClient(True, True); try WriteLn(GetHTTPPage(i, 'http://www.google.com/')); finally FreeHTTPClient(i); end; end.