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== ...")
 
 
Line 25: Line 25:
 
end.
 
end.
 
</source>
 
</source>
 
==See Also==
 
*[[AddSSLHandler]]
 
*[[SetProxyDetails]]
 
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Internet Functions]]
 
[[Category:Internet Functions]]
 
[[Category:HTTP Functions]]
 
[[Category:HTTP Functions]]

Latest revision as of 11:28, 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.