Skip to content

HttpClient

class HttpClient

Functions

Name Description
HttpClient @brief Creates a web client capable of submitting GET and POST requests to a given URL, over a secure or a plain connection.

Function Details

HttpClient

explicit HttpClient(const std::string& baseURL, bool verifyCerts = false)

@brief Creates a web client capable of submitting GET and POST requests to a given URL, over a secure or a plain connection.

baseURL : the base URL to be prepended to each request path.

verifyCerts : when set to false, allows self generated server certificates when connecting securely (by bypassing certificate origin verification).