Datasnap.DSClientRest.TDSCustomRestConnection.DefaultProtocol
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp
| |
Unit: Datasnap.DSClientRest | |
Parent: TDSCustomRestConnection |
Delphi
function DefaultProtocol: string;
C++
System::UnicodeString __fastcall DefaultProtocol();
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.