Difference between revisions of "GetRawHeaders"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetRawHeaders(const iHttp: Integer): AnsiString; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== ...")
(No difference)

Revision as of 10:27, 4 July 2011

Definition

function GetRawHeaders(const iHttp: Integer): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

Returns the raw headers of the last HTTP request made with the HTTP connection associated with the index iHttp in the HTTP client resource manager.

Example

var
  i: Integer;

begin
  i := InitializeHTTPClient(True, True);
  try
    GetHTTPPage(i, 'http://www.google.com/');
    WriteLn(GetRawHeaders(i));
  finally
    FreeHTTPClient(i);
  end;
end.

See Also