Datasnap.DSClientRest.TDSCustomRestConnection.DefaultProtocol
Delphi
function DefaultProtocol: string;
C++
System::UnicodeString __fastcall DefaultProtocol(void);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | public | Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp | Datasnap.DSClientRest | TDSCustomRestConnection | 
Description
Returns the default protocol for the DataSnap REST connection.
The DefaultProtocol method returns a string representing the default protocol for the DataSnap REST connection. If the protocol is not user-specified, DefaultProtocol returns 'http', otherwise DefaultProtocol returns the user-specified protocol.