Commit Graph

131 Commits

Author SHA1 Message Date
tastytea 58aebfc4c0
Mark unescape_html() nodiscard.
continuous-integration/drone/push Build is passing Details
2020-02-03 13:06:01 +01:00
tastytea 185ab91978
Rename buffer_mutex → _buffer_mutex.
continuous-integration/drone/push Build is passing Details
2020-01-28 08:11:56 +01:00
tastytea 56cabf48a8
Add clang-tidy exceptions for http_method. 2020-01-27 01:09:20 +01:00
tastytea deeff83410
Make some private members of CURLWrapper static.
continuous-integration/drone/push Build is passing Details
replace_parameter_in_uri(), add_parameters_to_uri() and add_mime_part().
2020-01-26 08:50:05 +01:00
tastytea 65ff76312b
Add nlohmann-json example.
continuous-integration/drone/push Build is passing Details
2020-01-26 00:49:49 +01:00
tastytea 02a22d773c
Make set_proxy(), set_cainfo(), set_useragent() virtual.
continuous-integration/drone/push Build is passing Details
2020-01-24 22:06:47 +01:00
tastytea bb088e6d70
Mark CURLWrapper::get_buffer() inline. 2020-01-24 21:57:15 +01:00
tastytea ac4150a3aa
Fix decumentation for CURLWrapper destructor. 2020-01-24 21:50:51 +01:00
tastytea c9ea49ed91
Enhance documentation for Instance and Connection.
continuous-integration/drone/push Build is passing Details
2020-01-24 02:18:54 +01:00
tastytea 9523de8788
Mark buffer variables const.
continuous-integration/drone/push Build is passing Details
2020-01-20 02:46:00 +01:00
tastytea 2c13f03a1c
Clarify documentation for Instance::ObtainToken::step_2(). 2020-01-20 02:32:48 +01:00
tastytea 3d614afa72
Instance is not a function. 2020-01-20 02:29:01 +01:00
tastytea 60f26dc864
Report right headerfile location for Instance::ObtainToken. 2020-01-20 02:26:15 +01:00
tastytea 837524661c
Indentation fix. 2020-01-18 18:09:49 +01:00
tastytea c75aefbe2a
Fix header names in documentation.
continuous-integration/drone/push Build was killed Details
2020-01-17 17:30:31 +01:00
tastytea 393c179c00
Make main page of reference more precise. 2020-01-17 17:30:31 +01:00
tastytea d8582f33c1
Mention the dependency on C++17.
continuous-integration/drone/push Build was killed Details
2020-01-17 17:29:44 +01:00
tastytea bdd328ac91
Remove useless const. 2020-01-16 18:19:47 +01:00
tastytea 8cfba1f16b
Add example to unescape_html() documentation. 2020-01-16 18:06:14 +01:00
tastytea 343fe2adca
Add unescape_html().
continuous-integration/drone/push Build is passing Details
2020-01-15 19:09:43 +01:00
tastytea a237d74a81
Use bracket initialization in example code. 2020-01-14 23:34:50 +01:00
tastytea 9ccd724693
Mark parse_pagination() nodiscard. 2020-01-14 23:32:04 +01:00
tastytea be42f30631
Removed superfluous const from parameter for readability. 2020-01-14 23:31:39 +01:00
tastytea 7afc8d19a9
Add documentation for set_useragent().
continuous-integration/drone/push Build is passing Details
2020-01-14 23:28:20 +01:00
tastytea 968863301a
Mark ObtainToken constructor explicit. 2020-01-14 23:27:30 +01:00
tastytea a8e342202d
Move types into types.hpp and add answer_type::next() and prev(). 2020-01-14 20:44:08 +01:00
tastytea 9ae50917dd
Remove Instance::get_proxy() and Instance::get_cainfo().
continuous-integration/drone/push Build is failing Details
We can't get the values that were set using environment variables or build-time
options. We don't need them anymore for initializing “Connection”s.
2020-01-12 17:39:39 +01:00
tastytea 1b4ad05acb
Add set_useragent(). 2020-01-12 17:37:06 +01:00
tastytea 975fe57677
Simplify connection setup.
By adding CURLWrapper::setup_connection_properties.
2020-01-12 17:24:02 +01:00
tastytea b4428ed823
Mark CURLWrapper::escape_url() and unescape_url() nodiscard. 2020-01-12 17:01:09 +01:00
tastytea 78ef177e58
Hide CURLWrapper::set_proxy(). 2020-01-12 17:00:49 +01:00
tastytea b192bc70c7
Fix @since-tags that point to nonexisting versions.
continuous-integration/drone/push Build is passing Details
2020-01-12 16:30:20 +01:00
tastytea 7af01ffb17
Add ObtainToken-example.
continuous-integration/drone/push Build is passing Details
2020-01-12 16:28:11 +01:00
tastytea 02b0b05aa1
Add Instance::ObtainToken. 2020-01-12 16:28:04 +01:00
tastytea 79c5087ca5
Marked some functions noexcept.
continuous-integration/drone/push Build is failing Details
2020-01-12 15:28:26 +01:00
tastytea 7fc19639b1
Add missing header. 2020-01-12 15:25:04 +01:00
tastytea 97eb269865
Add Instance::set_cainfo(). 2020-01-12 13:37:53 +01:00
tastytea b2f370a727
Add escape_url() and unescape_url() to CURLWrapper. 2020-01-12 01:04:23 +01:00
tastytea a6b328c2d1
Add Instance::get_post_formats().
continuous-integration/drone/push Build is passing Details
2020-01-11 20:05:11 +01:00
tastytea b9bf28c264
Add Instance::get_nodeinfo(). 2020-01-11 19:51:16 +01:00
tastytea d749e3aa23
Improve documentation for get_max_chars(). 2020-01-11 17:59:14 +01:00
tastytea f3f8efac25
Add DELETE example.
continuous-integration/drone/push Build is passing Details
2020-01-11 16:45:31 +01:00
tastytea 5c61d6fd27
Add support for DELETE requests. 2020-01-11 16:24:06 +01:00
tastytea 03b097c6a6
Fix patch() and put() requests without parameters.
Connection::patch() and Connection::put() without parameters were making a POST
request.
2020-01-11 16:21:44 +01:00
tastytea 905a5aae0e
Fix version information for Connection::patch() and put().
continuous-integration/drone/push Build is passing Details
2020-01-11 16:16:55 +01:00
tastytea ed43f74c01
Add examples 05 and 06. 2020-01-11 16:16:50 +01:00
tastytea f556df296f
Add HTTP methods PATCH and PUT. 2020-01-11 16:07:40 +01:00
tastytea 5051664136
Fixed some pleroma endpoints. 2020-01-11 15:56:16 +01:00
tastytea fc210142f5
Expand parametermap documentation.
continuous-integration/drone/push Build is passing Details
2020-01-11 15:25:34 +01:00
tastytea d14f750c39
Add example for posting an attachment. 2020-01-11 15:25:20 +01:00