From dfab999c9c218634102b7c9484abd058d8882023 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 16 Jan 2020 19:18:23 +0100 Subject: [PATCH] 2020-01-16 --- docs/connection_8hpp_source.html | 4 +- docs/curl__wrapper_8hpp_source.html | 6 +- docs/instance_8hpp_source.html | 2 +- docs/namespacemastodonpp.html | 2 +- docs/structmastodonpp_1_1answer__type.html | 22 ++-- docs/types_8hpp_source.html | 141 +++++++++++---------- 6 files changed, 89 insertions(+), 88 deletions(-) diff --git a/docs/connection_8hpp_source.html b/docs/connection_8hpp_source.html index cf82d28..a9c3723 100644 --- a/docs/connection_8hpp_source.html +++ b/docs/connection_8hpp_source.html @@ -199,7 +199,7 @@ $(function() {
answer_type get(const endpoint_variant &endpoint, const parametermap &parameters)
Make a HTTP GET call with parameters.
Definition: connection.cpp:34
string type
The type of the event.
Definition: connection.hpp:62
answer_type post(const endpoint_variant &endpoint)
Make a HTTP POST call.
Definition: connection.hpp:164
-
map< string_view, variant< string_view, vector< string_view > >> parametermap
std::map of parameters for API calls.
Definition: types.hpp:64
+
map< string_view, variant< string_view, vector< string_view > >> parametermap
std::map of parameters for API calls.
Definition: types.hpp:66
Connection(Instance &instance)
Construct a new Connection object.
Definition: connection.hpp:85
answer_type put(const endpoint_variant &endpoint)
Make a HTTP PUT call.
Definition: connection.hpp:216
answer_type get(const endpoint_variant &endpoint)
Make a HTTP GET call.
Definition: connection.hpp:127
@@ -214,7 +214,7 @@ $(function() {
variant< API::endpoint_type, string_view > endpoint_variant
An endpoint. Either API::endpoint_type or std::string_view.
Definition: connection.hpp:43
answer_type del(const endpoint_variant &endpoint, const parametermap &parameters)
Make a HTTP DELETE call with parameters.
Definition: connection.cpp:62
A stream event.
Definition: connection.hpp:52
-
Return type for Requests.
Definition: types.hpp:82
+
Return type for Requests.
Definition: types.hpp:81
answer_type patch(const endpoint_variant &endpoint, const parametermap &parameters)
Make a HTTP PATCH call with parameters.
Definition: connection.cpp:48
Holds the access data of an instance.
Definition: instance.hpp:45
answer_type post(const endpoint_variant &endpoint, const parametermap &parameters)
Make a HTTP POST call with parameters.
Definition: connection.cpp:41
diff --git a/docs/curl__wrapper_8hpp_source.html b/docs/curl__wrapper_8hpp_source.html index 6fe05bc..a15ea94 100644 --- a/docs/curl__wrapper_8hpp_source.html +++ b/docs/curl__wrapper_8hpp_source.html @@ -239,14 +239,14 @@ $(function() {
http_method
The HTTP method.
Definition: curl_wrapper.hpp:40
CURLWrapper()
Initializes curl and sets up connection.
Definition: curl_wrapper.cpp:41
CURL * get_curl_easy_handle()
Returns pointer to the CURL easy handle.
Definition: curl_wrapper.hpp:105
-
map< string_view, variant< string_view, vector< string_view > >> parametermap
std::map of parameters for API calls.
Definition: types.hpp:64
+
map< string_view, variant< string_view, vector< string_view > >> parametermap
std::map of parameters for API calls.
Definition: types.hpp:66
string unescape_url(const string_view url) const
URL decodes the given string .
Definition: curl_wrapper.hpp:145
C++ wrapper for the Mastodon API.
Definition: api.cpp:19
mutex buffer_mutex
Mutex for get_buffer a.k.a. _curl_buffer_body.
Definition: curl_wrapper.hpp:175
string & get_buffer()
Returns a reference to the buffer libcurl writes into.
Definition: curl_wrapper.hpp:196
void set_proxy(string_view proxy)
Set the proxy to use.
Definition: curl_wrapper.cpp:216
-
Return type for Requests.
Definition: types.hpp:82
-
pair< string_view, variant< string_view, vector< string_view > >> parameterpair
A single parameter of a parametermap.
Definition: types.hpp:72
+
Return type for Requests.
Definition: types.hpp:81
+
pair< string_view, variant< string_view, vector< string_view > >> parameterpair
A single parameter of a parametermap.
Definition: types.hpp:74
void set_cainfo(string_view path)
Set path to Certificate Authority (CA) bundle.
Definition: curl_wrapper.cpp:253
CURLWrapper & operator=(const CURLWrapper &other)=delete
Copy assignment operator.
void set_useragent(string_view useragent)
Sets the User-Agent.
Definition: curl_wrapper.cpp:263
diff --git a/docs/instance_8hpp_source.html b/docs/instance_8hpp_source.html index 3fded25..e7a919a 100644 --- a/docs/instance_8hpp_source.html +++ b/docs/instance_8hpp_source.html @@ -226,7 +226,7 @@ $(function() {
void set_proxy(string_view proxy)
Set the proxy to use.
Definition: curl_wrapper.cpp:216
vector< string > get_post_formats() noexcept
Returns the allowed mime types for statuses.
uint64_t get_max_chars() noexcept
Returns the maximum number of characters per post.
-
Return type for Requests.
Definition: types.hpp:82
+
Return type for Requests.
Definition: types.hpp:81
void set_proxy(const string_view proxy)
Set the proxy to use.
Definition: instance.hpp:147
void set_cainfo(string_view path)
Set path to Certificate Authority (CA) bundle.
Definition: curl_wrapper.cpp:253
Holds the access data of an instance.
Definition: instance.hpp:45
diff --git a/docs/namespacemastodonpp.html b/docs/namespacemastodonpp.html index 990e5fb..15829ce 100644 --- a/docs/namespacemastodonpp.html +++ b/docs/namespacemastodonpp.html @@ -591,7 +591,7 @@ Functions -
map< string_view, variant< string_view, vector< string_view > >> parametermap
std::map of parameters for API calls.
Definition: types.hpp:64
+
map< string_view, variant< string_view, vector< string_view > >> parametermap
std::map of parameters for API calls.
Definition: types.hpp:66
string unescape_html(string html)
Replaces HTML entities with UTF-8 characters.
Definition: helpers.cpp:40