Internet Direct (Indy) Version 9.0.1 Beta
|
procedure Get(AURL: string; const AResponseContent: TStream); overload; function Get(AURL: string): string; overload;
AURL is the complete, fully-qualified location of the resource.
AResponseContent is the TStream that is the destination for data retrieved using the specified URL .
Use Get(AUrl) to retrieve the data from AURL and return the contents as the String result of the function.
Use Get(AUrl, AResponseContent) to retrieve data from the URL and write the return values to the TStream descendant specified by AResponseContent.
Get relies on the DoRequest method to perform the HTTP transfer.