cpp Rest API master
C++ library for REST API access with Qt, Curl and cpp-httplib backends
 
Loading...
Searching...
No Matches
iconnection.hpp File Reference
#include <atomic>
#include <expected>
#include <functional>
#include <memory>
#include <string>
#include <vector>
#include "http_error.hpp"

Go to the source code of this file.

Classes

struct  cpp_restapi::Response
 HTTP response containing body, raw headers and the HTTP status code. More...
 
struct  cpp_restapi::IConnection
 Interface representing connection with rest api server. More...
 

Namespaces

namespace  cpp_restapi
 

Typedefs

using cpp_restapi::CancellationToken = std::shared_ptr<std::atomic<bool>>
 Token returned by asynchronous fetch(); set it to true to cancel the request.