Datasnap.DSHTTPClient.TDSHTTP.Get
Delphi
procedure Get(const AURL: string; AResponseContent: TStream = nil);
C++
void __fastcall Get(const System::UnicodeString AURL, System::Classes::TStream* AResponseContent = (System::Classes::TStream*)(0x0));
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSHTTPClient.pas Datasnap.DSHTTPClient.hpp |
Datasnap.DSHTTPClient | TDSHTTP |
Description
Sends a GET command request.
The following table shows the significance of the parameters.
Parameter | Description |
---|---|
|
URL where the GET command is sent. |
|
The stream to collect the response in. |
Exceptions
Exception | Message | Description |
---|---|---|
|
A protocol exception is raised from the server response. |