| Qore HttpClientDataProvider Module Reference 1.1

Loading...
Searching...
No Matches
HttpClientDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
26 namespace HttpClientDataProvider {
28 class HttpClientDataProvider : public AbstractDataProvider {
29
30 public:
32 const ProviderInfo = ...;
33
34
36 const ConstructorOptions = ...;
37
38
39 HTTPClient http;
40
41 protected:
42 const ChildMap = ...;
43
44
45 public:
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
76 protected:
77 *list<string> getChildProviderNamesImpl();
78 public:
79
80
82
86 protected:
87 *AbstractDataProvider getChildProviderImpl(string name);
88 public:
89
90
92 protected:
93 hash<DataProviderInfo> getStaticInfoImpl();
94 public:
95
96};
97};
HttpClientDataProvider::HttpClientDataProvider::getChildProviderSummaryInfo
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
HttpClientDataProvider::HttpClientDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
HttpClientDataProvider::HttpClientDataProvider::getDesc
*string getDesc()
Returns the data provider description.
HttpClientDataProvider::HttpClientDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
HttpClientDataProvider::HttpClientDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
HttpClientDataProvider::HttpClientDataProvider::getName
string getName()
Returns the data provider name.
HttpClientDataProvider::HttpClientDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition HttpClientDataProvider.qc.dox.h:32
HttpClientDataProvider::HttpClientDataProvider::getChildProviderImpl
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
HttpClientDataProvider::HttpClientDataProvider::ConstructorOptions
const ConstructorOptions
Constructor arguments.
Definition HttpClientDataProvider.qc.dox.h:36
HttpClientDataProvider::HttpClientDataProvider::constructor
constructor(HTTPClient http)
Creates the object from an HTTP connection.
HttpClientDataProvider::HttpClientDataProvider::getHttpConnection
static HTTPClient getHttpConnection(hash< auto > options)
Returns an HTTP connection.
HttpClientDataProvider::HttpClientDataProvider::makeRequest
static hash< auto > makeRequest(HTTPClient http, string meth, *data body, string path, *hash< auto > hdr)
Makes an HTTP request and returns the response.
HttpClientDataProvider
Qore HttpClientDataProvider module definition.
Definition HttpClientCallDataProvider.qc.dox.h:26