10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
LibCurlHTTPClient Class Reference

#include <LibcurlHTTPClient.h>

Detailed Description

LibCurl -based implementation of HTTPClient.

Very simple currently, does not support all variations.

Inheritance diagram for LibCurlHTTPClient:
tenduke::http::HTTPClient

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::HTTPCallcall (std::shared_ptr< const tenduke::http::HTTPRequest > request) const override
 
- Public Member Functions inherited from tenduke::http::HTTPClient
virtual std::unique_ptr< tenduke::http::HTTPCallcall (std::shared_ptr< const tenduke::http::HTTPRequest > request) const =0
 Creates new HTTPCall from given HTTPRequest.
 

Constructor & Destructor Documentation

◆ LibCurlHTTPClient()

tenduke::http::curl::LibCurlHTTPClient::LibCurlHTTPClient ( std::string userAgent = {},
long defaultConnectionTimeoutMs = DEFAULT_CONNECTION_TIMEOUT_MS,
long defaultTimeoutMs = DEFAULT_TIMEOUT_MS,
bool blindlyTrustSSLCertificates = false,
bool verbose = false )
explicit

Constructs instance with LibCurlURLEncoder.

Parameters
userAgent-
defaultConnectionTimeoutMs-
defaultTimeoutMs-
blindlyTrustSSLCertificates-
verbose-

Member Function Documentation

◆ request()

xdhttp::HTTPRequestBuilder tenduke::http::curl::LibCurlHTTPClient::request ( ) const
overridevirtual

Starts building request.

Implements tenduke::http::HTTPClient.


The documentation for this class was generated from the following files: