Qore HttpClientDataProvider Module Reference 1.1
Loading...
Searching...
No Matches
HttpClientCallDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
28class HttpClientCallDataProvider : public AbstractDataProvider {
29
30public:
32 HTTPClient http;
33
35 const ProviderInfo = ...;
36
37
40
41
44
47
49 constructor(*hash<auto> options);
50
51
53 constructor(HTTPClient http);
54
55
57 string getName();
58
59
61
66protected:
67 auto doRequestImpl(auto req, *hash<auto> request_options);
68public:
69
70
72
74protected:
75 *AbstractDataProviderType getRequestTypeImpl();
76public:
77
78
80
82protected:
83 *AbstractDataProviderType getResponseTypeImpl();
84public:
85
86
88 hash<DataProviderInfo> getStaticInfoImpl();
89
90};
91};
The HTTP call data provider class.
Definition HttpClientCallDataProvider.qc.dox.h:28
const ProviderInfo
Provider info.
Definition HttpClientCallDataProvider.qc.dox.h:35
constructor(*hash< auto > options)
Creates the object from constructor options.
const ProviderSummaryInfo
Provider summary info.
Definition HttpClientCallDataProvider.qc.dox.h:39
string getName()
Returns the data provider name.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const RequestType
Request type.
Definition HttpClientCallDataProvider.qc.dox.h:43
constructor(HTTPClient http)
Creates the object from an HTTP connection.
HTTPClient http
HTTP connection.
Definition HttpClientCallDataProvider.qc.dox.h:32
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ResponseType
Response type.
Definition HttpClientCallDataProvider.qc.dox.h:46
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
Data type for HTTP call responses.
Definition HttpClientCallResponseDataType.qc.dox.h:27
Data type for HTTP client request call with an explicit method.
Definition HttpClientCallWithMethodRequestDataType.qc.dox.h:27
Qore HttpClientDataProvider module definition.
Definition HttpClientCallDataProvider.qc.dox.h:26