| Qore HttpClientDataProvider Module Reference 1.1

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