FreeHTTPClient

From SCAR Divi Manual
Jump to: navigation, search

Definition

function FreeHTTPClient(const iHttp: Integer): Boolean;

Availability

SCAR Divi 3.00 > Current

Description

Closes 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