Qore RestClientDataProvider Module Reference 2.0
Loading...
Searching...
No Matches
RestClientDataProviderBase.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace RestClientDataProvider {
28class RestClientDataProviderBase : public DataProvider::AbstractDataProvider {
29
30public:
31protected:
33 RestClient::RestClient rest;
34
35public:
36
39
40
42 constructor(RestClient::RestClient rest);
43
44
46 setLogger(*LoggerInterface logger);
47
48
50 static string getRequestPath(hash<auto> req);
51
53 static string getUriValue(auto v);
54};
55};
The REST client data provider class, provides API classes as children.
Definition RestClientDataProviderBase.qc.dox.h:28
constructor(RestClient::RestClient rest)
Creates the object.
static string getUriValue(auto v)
Returns the value for the given query argument.
static string getRequestPath(hash< auto > req)
Returns the request path for the given request.
RestClient::RestClient rest
The REST client object.
Definition RestClientDataProviderBase.qc.dox.h:33
setLogger(*LoggerInterface logger)
Accepts a LoggerInterface object for logging (or clears it)
Qore RestClientDataProvider module definition.
Definition RestClientCallDataProvider.qc.dox.h:26