35 const ProviderInfo = ...;
39 const ConstructorOptions = ...;
76 static hash<auto>
makeRequest(RestClient rest,
string meth, *data body,
string path, *hash<auto> hdr);
The REST client data provider class, provides API classes as children.
Definition RestClientDataProviderBase.qc.dox.h:28
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
constructor(*hash< auto > options)
Creates the object from constructor options.
*string getDesc()
Returns the data provider description.
constructor(RestClient rest)
Creates the object from a REST connection.
string getName()
Returns the data provider name.
setLogger(*LoggerInterface logger)
Accepts a LoggerInterface object for logging (or clears it)
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
static hash< auto > processRestOptions(hash< auto > options)
Processes common REST options.
static hash< auto > makeRequest(RestClient rest, string meth, *data body, string path, *hash< auto > hdr)
Makes a REST request and returns the response.
static RestClient getRestConnection(hash< auto > options)
Returns a REST connection.
Qore RestClientDataProvider module definition.
Definition RestClientCallDataProvider.qc.dox.h:26
const AppName
Application name.
Definition RestClientDataProvider.qc.dox.h:28