mastodon-cpp
0.101.1
|
Collection of things to interface with server software that implements the Mastodon API. More...
Namespaces | |
Easy | |
Collection of things that make it easier to interface with server software that implements the Mastodon API. | |
Classes | |
class | API |
Interface to the Mastodon API. More... | |
struct | param |
A single parameter. More... | |
struct | parameters |
Vector of Mastodon::param, used for passing parameters in calls. More... | |
struct | return_base |
Basis for return types. More... | |
struct | return_call |
Return type for API calls. More... | |
Typedefs | |
typedef struct Mastodon::return_base | return_base |
Basis for return types. More... | |
typedef Mastodon::return_call | return_call |
Return type for API calls. More... | |
typedef struct Mastodon::param | param |
A single parameter. More... | |
typedef Mastodon::parameters | parameters |
Vector of Mastodon::param, used for passing parameters in calls. More... | |
Enumerations | |
enum | http_method { GET, PATCH, POST, PUT, DELETE, GET_STREAM } |
HTTP methods. Used in API calls. More... | |
typedef struct Mastodon::param Mastodon::param |
A single parameter.
key | The key as a string. |
values | The values as a vector of strings. |
Vector of Mastodon::param, used for passing parameters in calls.
The only difference to a std::vector<param> is the added member find.
Example:
typedef struct Mastodon::return_base Mastodon::return_base |
Basis for return types.
Return type for API calls.
Example:
|
strong |
HTTP methods. Used in API calls.