17 #ifndef MASTODONPP_REQUEST_HPP
18 #define MASTODONPP_REQUEST_HPP
21 #include "curl_wrapper.hpp"
22 #include "instance.hpp"
23 #include "return_types.hpp"
78 #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:39
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:44
Holds the access data of an instance.
Definition: instance.hpp:36
Handles the details of network connections.
Definition: curl_wrapper.hpp:36
variant< v1, v2 > endpoint_type
Type for endpoints. Either API::v1 or API::v2.
Definition: api.hpp:69