17 #ifndef MASTODONPP_REQUEST_HPP
18 #define MASTODONPP_REQUEST_HPP
21 #include "instance.hpp"
22 #include "return_types.hpp"
61 #endif // MASTODONPP_REQUEST_HPP
C++ wrapper for the Mastodon API.
Definition: api.cpp:23
Used to make a request to the Mastodon API.
Definition: request.hpp:36
Request(Instance &instance)
Construct a new Request object.
Definition: request.cpp:22
answer_type get(API::endpoint_type endpoint) const
Make a HTTP GET call.
Definition: request.cpp:26
Return type for Requests.
Definition: return_types.hpp:42
Holds the hostname and access token of an instance.
Definition: instance.hpp:34
variant< v1, v2 > endpoint_type
Type for endpoints. Either API::v1 or API::v2.
Definition: api.hpp:67