GetRawHeaders

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

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.