include/mtxclient/http/client.hpp file

Primary header to access the http API.

Namespaces

namespace mtx
Top level namespace for mtxclient.
namespace mtx::http
Types related to invoking the actual HTTP requests.
namespace mtx::requests
Namespace for request structs.
namespace mtx::responses
Namespace for the different types of responses.
namespace mtx::responses::backup
KeysBackup related responses.

Classes

class mtx::http::UIAHandler
A helper to handle user interactive authentication. This will cache the request and call the prompt every time there is a new stage. Advance the flow by calling next().
struct mtx::http::SyncOpts
Sync configuration options.
struct mtx::http::MessagesOpts
Configuration for the /messages endpoint.
struct mtx::http::ThumbOpts
Configuration for thumbnail retrieving.
class mtx::http::Client
The main object that the user will interact.