17 #ifndef MASTODON_CPP_TYPES_HPP 18 #define MASTODON_CPP_TYPES_HPP 40 vector<string> values;
43 operator const string()
const;
64 using vector<param>::vector;
79 const std::vector<param>::const_iterator
find(
const string &key)
const;
100 INVALID_ARGUMENT = 1,
102 CONNECTION_TIMEOUT = 11,
103 CONNECTION_REFUSED = 12,
110 #endif // MASTODON_CPP_TYPES_HPP struct Mastodon::param param
A single parameter.
Vector of Mastodon::param, used for passing parameters in calls.
Definition: types.hpp:62
const std::vector< param >::const_iterator find(const string &key) const
Get iterator to element with key.
Definition: types.cpp:27
http_method
HTTP methods. Used in API calls.
Definition: types.hpp:87
Mastodon::parameters parameters
Vector of Mastodon::param, used for passing parameters in calls.
A single parameter.
Definition: types.hpp:37
Collection of things to interface with server software that implements the Mastodon API.
Definition: mastodon-cpp.hpp:47