|
10Duke Enterprise C++ Client
|
#include <LibcurlHTTPClient.h>
LibCurl -based implementation of HTTPClient.
Very simple currently, does not support all variations.
Public Member Functions | |
| LibCurlHTTPClient (std::string userAgent={}, long defaultConnectionTimeoutMs=DEFAULT_CONNECTION_TIMEOUT_MS, long defaultTimeoutMs=DEFAULT_TIMEOUT_MS, bool blindlyTrustSSLCertificates=false, bool verbose=false) | |
| Constructs instance with LibCurlURLEncoder. | |
| tenduke::http::HTTPRequestBuilder | request () const override |
| Starts building request. | |
| std::unique_ptr< tenduke::http::HTTPCall > | call (std::shared_ptr< const tenduke::http::HTTPRequest > request) const override |
Public Member Functions inherited from tenduke::http::HTTPClient | |
| virtual std::unique_ptr< tenduke::http::HTTPCall > | call (std::shared_ptr< const tenduke::http::HTTPRequest > request) const =0 |
| Creates new HTTPCall from given HTTPRequest. | |
|
explicit |
Constructs instance with LibCurlURLEncoder.
| userAgent | - |
| defaultConnectionTimeoutMs | - |
| defaultTimeoutMs | - |
| blindlyTrustSSLCertificates | - |
| verbose | - |
|
overridevirtual |
Starts building request.
Implements tenduke::http::HTTPClient.