Loading...
Searching...
No Matches
HttpClientPutDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace HttpClientDataProvider {
class HttpClientPutDataProvider : public AbstractDataProvider {
public:
HTTPClient http;
const ProviderInfo = <DataProviderInfo>{
"name": "put",
"desc": "HTTP PUT data provider; makes PUT request to an HTTP server and returns the response",
"type": "HttpClientPutDataProvider",
"constructor_options": HttpClientDataProvider::ConstructorOptions,
"supports_request": True,
};
const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
AbstractDataProvider::DataProviderSummaryInfoKeys
});
const RequestType = new HttpClientCallRequestDataType();
const ResponseType = new HttpClientCallResponseDataType();
constructor(*hash<auto> options);
constructor(HTTPClient http);
string getName();
protected:
auto doRequestImpl(auto req, *hash<auto> request_options);
public:
protected:
*AbstractDataProviderType getRequestTypeImpl();
public:
protected:
*AbstractDataProviderType getResponseTypeImpl();
public:
hash<DataProviderInfo> getStaticInfoImpl();
};
};
HttpClientDataProvider::HttpClientCallRequestDataType
Data type for HTTP call requests.
Definition: HttpClientCallRequestDataType.qc.dox.h:27
HttpClientDataProvider::HttpClientCallResponseDataType
Data type for HTTP call responses.
Definition: HttpClientCallResponseDataType.qc.dox.h:27
HttpClientDataProvider::HttpClientDataProvider::ConstructorOptions
const ConstructorOptions
Constructor arguments.
Definition: HttpClientDataProvider.qc.dox.h:42
HttpClientDataProvider::HttpClientPutDataProvider
The HTTP put data provider class.
Definition: HttpClientPutDataProvider.qc.dox.h:28
HttpClientDataProvider::HttpClientPutDataProvider::RequestType
const RequestType
Request type.
Definition: HttpClientPutDataProvider.qc.dox.h:49
HttpClientDataProvider::HttpClientPutDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
HttpClientDataProvider::HttpClientPutDataProvider::ResponseType
const ResponseType
Response type.
Definition: HttpClientPutDataProvider.qc.dox.h:52
HttpClientDataProvider::HttpClientPutDataProvider::constructor
constructor(HTTPClient http)
Creates the object from an HTTP connection.
HttpClientDataProvider::HttpClientPutDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
HttpClientDataProvider::HttpClientPutDataProvider::http
HTTPClient http
HTTP connection.
Definition: HttpClientPutDataProvider.qc.dox.h:32
HttpClientDataProvider::HttpClientPutDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
HttpClientDataProvider::HttpClientPutDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
HttpClientDataProvider::HttpClientPutDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: HttpClientPutDataProvider.qc.dox.h:44
HttpClientDataProvider::HttpClientPutDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: HttpClientPutDataProvider.qc.dox.h:35
HttpClientDataProvider::HttpClientPutDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
HttpClientDataProvider::HttpClientPutDataProvider::getName
string getName()
Returns the data provider name.
HttpClientDataProvider
Qore HttpClientDataProvider module definition.
Definition: HttpClientCallDataProvider.qc.dox.h:26