C++ Essence Library 0.1.0
A Utility Library for Modern C++ Programming
|
An HTTP client for JSON input and output. More...
#include <http_client.hpp>
Public Member Functions | |
ES_API (CPPESSENCE) explicit http_client(const uri &base_uri) | |
ES_API (CPPESSENCE) http_client(const uri &base_uri | |
ES_API (CPPESSENCE) http_client(http_client &&) noexcept | |
ES_API (CPPESSENCE) ~http_client() | |
ES_API (CPPESSENCE) http_client &operator | |
ES_API (CPPESSENCE) const uri &base_uri() const | |
ES_API(CPPESSENCE) abi ES_API(CPPESSENCE) abi ES_API(CPPESSENCE) abi | ES_API (CPPESSENCE) void on_progress(const http_progress_handler &handler) const |
ES_API (CPPESSENCE) void on_percentage(const http_percentage_handler &handler) const | |
![]() | |
const uri & | base_uri () const |
abi::json | commit_json_nop (http_method method, const uri &relative_uri, const http_header_handler &header_handler={}) const |
abi::json | commit_json (http_method method, const uri &relative_uri, const abi::json ¶ms, const http_header_handler &header_handler={}) const |
abi::json | commit_bytes (http_method method, const uri &relative_uri, std::string_view content_type, std::span< const std::byte > bytes, const http_header_handler &header_handler={}) const |
abi::json | commit_bytes (http_method method, const uri &relative_uri, std::string_view content_type, Range &&bytes, const http_header_handler &header_handler={}) const |
void | on_progress (const http_progress_handler &progress_handler) const |
auto | commit_message (T &&message, const http_header_handler &header_handler={}) const |
Public Attributes | |
const http_client_config & | config |
![]() | |
friend | Impl |
An HTTP client for JSON input and output.