Datasnap.DSClientRest.TDSCustomRestConnection.DefaultProtocol

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DefaultProtocol: string;

C++

System::UnicodeString __fastcall DefaultProtocol();

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.

See Also