Loading...
Searching...
No Matches
HttpClientDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace HttpClientDataProvider {
class HttpClientDataProvider : public AbstractDataProvider {
public:
const ProviderInfo = ...;
const ConstructorOptions = ...;
HTTPClient http;
protected:
const ChildMap = ...;
public:
constructor(*hash<auto> options);
constructor(HTTPClient http);
string getName();
*string getDesc();
*list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
static HTTPClient getHttpConnection(hash<auto> options);
static hash<auto> makeRequest(HTTPClient http, string meth, *data body, string path, *hash<auto> hdr);
protected:
*list<string> getChildProviderNamesImpl();
public:
protected:
*AbstractDataProvider getChildProviderImpl(string name);
public:
protected:
hash<DataProviderInfo> getStaticInfoImpl();
public:
};
};
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::getChildProviderImpl
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
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