Datasnap.DSHTTPClient.TDSHTTP.Get

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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));

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
Datasnap.DSHTTPClient.pas
Datasnap.DSHTTPClient.hpp
Datasnap.DSHTTPClient TDSHTTP


Beschreibung

Sendet eine GET-Befehlsanforderung.

In der folgende Tabelle ist die Bedeutung der Parameter aufgeführt.

Parameter Beschreibung

AURL

URL, an den der GET-Befehl gesendet wird.

AResponseContent

Der Stream, in den die Antwort einbezogen werden soll.

Exceptions

Exception Meldung Beschreibung

EHTTPProtocolException

<HTTP protocol version> <HTTP status code> <Reason-Phrase>

Aus der Serverantwort wird eine Protokoll-Exception ausgelöst.

Siehe auch