Datasnap.DSClientRest.TDSCustomRestConnection.DefaultProtocol

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function DefaultProtocol: string;

C++

System::UnicodeString __fastcall DefaultProtocol();

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
Datasnap.DSClientRest.pas
Datasnap.DSClientRest.hpp
Datasnap.DSClientRest TDSCustomRestConnection

Beschreibung

Gibt das Standardprotokoll für die DataSnap-REST-Verbindung zurück.

Die Methode DefaultProtocol gibt einen string zurück, der das Standardprotokoll für die DataSnap-REST-Verbindung repräsentiert. Wenn das Protokoll nicht benutzerdefiniert ist, gibt DefaultProtocol 'http' zurück; ansonsten gibt DefaultProtocol das benutzerdefinierte Protokoll zurück.

Siehe auch