| Qore RestClientDataProvider Module Reference 2.0.1

Loading...
Searching...
No Matches
RestClientCallDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
26 namespace RestClientDataProvider {
28 class RestClientCallDataProvider : public RestClientDataProviderBase {
29
30 public:
32 const ProviderInfo = ...;
33
34
36 const ProviderSummaryInfo = ...;
37
38
40 const RequestType = RestClientCallWithMethodRequestDataType;
41
43 const ResponseType = RestClientCallResponseDataType;
44
46 constructor(*hash<auto> options);
47
48
50 constructor(RestClient rest) ;
51
52
54 string getName();
55
56
58
63 protected:
64 auto doRequestImpl(auto req, *hash<auto> request_options);
65 public:
66
67
69
71 protected:
72 *AbstractDataProviderType getRequestTypeImpl();
73 public:
74
75
77
79 protected:
80 *AbstractDataProviderType getResponseTypeImpl();
81 public:
82
83
85 hash<DataProviderInfo> getStaticInfoImpl();
86
87};
88};
RestClientDataProvider::RestClientCallDataProvider
The REST client call data provider class.
Definition RestClientCallDataProvider.qc.dox.h:28
RestClientDataProvider::RestClientCallDataProvider::constructor
constructor(RestClient rest)
Creates the object from a REST connection.
RestClientDataProvider::RestClientCallDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition RestClientCallDataProvider.qc.dox.h:32
RestClientDataProvider::RestClientCallDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition RestClientCallDataProvider.qc.dox.h:36
RestClientDataProvider::RestClientCallDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
RestClientDataProvider::RestClientCallDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
RestClientDataProvider::RestClientCallDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
RestClientDataProvider::RestClientCallDataProvider::RequestType
const RequestType
Request type.
Definition RestClientCallDataProvider.qc.dox.h:40
RestClientDataProvider::RestClientCallDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
RestClientDataProvider::RestClientCallDataProvider::ResponseType
const ResponseType
Response type.
Definition RestClientCallDataProvider.qc.dox.h:43
RestClientDataProvider::RestClientCallDataProvider::getName
string getName()
Returns the data provider name.
RestClientDataProvider::RestClientCallDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
RestClientDataProvider::RestClientCallResponseDataType
Data type for REST call responses.
Definition RestClientCallResponseDataType.qc.dox.h:30
RestClientDataProvider::RestClientCallWithMethodRequestDataType
Data type for REST client call requests with a specific method.
Definition RestClientCallWithMethodRequestDataType.qc.dox.h:30
RestClientDataProvider::RestClientDataProviderBase
The REST client data provider class, provides API classes as children.
Definition RestClientDataProviderBase.qc.dox.h:28
RestClientDataProvider::RestClientDataProviderBase::rest
RestClient::RestClient rest
The REST client object.
Definition RestClientDataProviderBase.qc.dox.h:33
RestClientDataProvider
Qore RestClientDataProvider module definition.
Definition RestClientCallDataProvider.qc.dox.h:26
RestClient