Qore HttpClientDataProvider Module Reference 1.1
Loading...
Searching...
No Matches
HttpClientDeleteDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace HttpClientDataProvider {
28class HttpClientDeleteDataProvider : public AbstractDataProvider {
29
30public:
32 HTTPClient http;
33
35 const ProviderInfo = <DataProviderInfo>{
36 "name": "delete",
37 "desc": "HTTP DELETE data provider; makes a `DELETE` request to an HTTP server and returns the response",
38 "type": "HttpClientDeleteDataProvider",
39 "constructor_options": HttpClientDataProvider::ConstructorOptions,
40 "supports_request": True,
41 };
42
44 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
45 AbstractDataProvider::DataProviderSummaryInfoKeys
46 });
47
50
53
55 constructor(*hash<auto> options);
56
57
59 constructor(HTTPClient http);
60
61
63 string getName();
64
65
67
72protected:
73 auto doRequestImpl(auto req, *hash<auto> request_options);
74public:
75
76
78
80protected:
81 *AbstractDataProviderType getRequestTypeImpl();
82public:
83
84
86
88protected:
89 *AbstractDataProviderType getResponseTypeImpl();
90public:
91
92
94 hash<DataProviderInfo> getStaticInfoImpl();
95
96};
97};
Data type for HTTP call requests.
Definition: HttpClientCallRequestDataType.qc.dox.h:27
Data type for HTTP call responses.
Definition: HttpClientCallResponseDataType.qc.dox.h:27
const ConstructorOptions
Constructor arguments.
Definition: HttpClientDataProvider.qc.dox.h:42
The HTTP delete data provider class.
Definition: HttpClientDeleteDataProvider.qc.dox.h:28
constructor(HTTPClient http)
Creates the object from an HTTP connection.
constructor(*hash< auto > options)
Creates the object from constructor options.
const ProviderSummaryInfo
Provider summary info.
Definition: HttpClientDeleteDataProvider.qc.dox.h:44
const ProviderInfo
Provider info.
Definition: HttpClientDeleteDataProvider.qc.dox.h:35
const RequestType
Request type.
Definition: HttpClientDeleteDataProvider.qc.dox.h:49
const ResponseType
Response type.
Definition: HttpClientDeleteDataProvider.qc.dox.h:52
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
HTTPClient http
HTTP connection.
Definition: HttpClientDeleteDataProvider.qc.dox.h:32
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
string getName()
Returns the data provider name.
Qore HttpClientDataProvider module definition.
Definition: HttpClientCallDataProvider.qc.dox.h:26