GetHTTPPage

From SCAR Divi Manual
Revision as of 09:56, 4 July 2011 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function GetHTTPPage(const iHttp: Integer; const URL: AnsiString): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

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.

See Also