Qore HttpClientDataProvider Module Reference 1.1
Loading...
Searching...
No Matches
HttpClientDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace HttpClientDataProvider {
28class HttpClientDataProvider : public AbstractDataProvider {
29
30public:
32 const ProviderInfo = ...;
33
34
36 const ConstructorOptions = ...;
37
38
39 HTTPClient http;
40
41protected:
42 const ChildMap = ...;
43
44
45public:
46
48 constructor(*hash<auto> options);
49
50
52 constructor(HTTPClient http);
53
54
56 string getName();
57
58
60 *string getDesc();
61
62
64 *list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
65
66
68 static HTTPClient getHttpConnection(hash<auto> options);
69
71 static hash<auto> makeRequest(HTTPClient http, string meth, *data body, string path, *hash<auto> hdr);
72
74
76protected:
78public:
79
80
82
86protected:
87 *AbstractDataProvider getChildProviderImpl(string name);
88public:
89
90
92protected:
93 hash<DataProviderInfo> getStaticInfoImpl();
94public:
95
96};
97};
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*string getDesc()
Returns the data provider description.
constructor(*hash< auto > options)
Creates the object from constructor options.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
string getName()
Returns the data provider name.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
constructor(HTTPClient http)
Creates the object from an HTTP connection.
static HTTPClient getHttpConnection(hash< auto > options)
Returns an HTTP connection.
static hash< auto > makeRequest(HTTPClient http, string meth, *data body, string path, *hash< auto > hdr)
Makes an HTTP request and returns the response.
Qore HttpClientDataProvider module definition.
Definition HttpClientCallDataProvider.qc.dox.h:26