Merge branch 'develop' into main
continuous-integration/drone/push Build was killed Details

This commit is contained in:
tastytea 2020-01-18 23:25:08 +01:00
commit e650e4c787
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 11 additions and 5 deletions

View File

@ -13,6 +13,7 @@
:uri-dpkg: https://packages.qa.debian.org/dpkg
:uri-rpm-build: http://www.rpm.org
:uri-libcurl: https://curl.haxx.se/libcurl/
_uri-nodeinfo: https://nodeinfo.diaspora.software/
*{project}* is a C++ wrapper for the Mastodon and Pleroma APIs. It replaces
link:{uri-mastodon-cpp}[mastodon-cpp].
@ -27,13 +28,16 @@ favorite JSON library and we don't want to impose our choice on you!
== Features
This is still a work in progress; here is a rough overview of the features:
Here is a rough overview of the features:
* [x] `GET`, Streaming `GET`, `POST`, `PATCH`, `PUT` and `DELETE` requests.
* [x] Report maximum allowed character per post.
* [x] `GET`, Streaming `GET`, `POST`, `PATCH`, `PUT` and `DELETE` requests.
* [x] Comfortable access to pagination headers.
* [x] Comfortable function to register a new “app” (get an access token).
* [x] Report maximum allowed character per post.
* [x] Simple function to register a new “app” (get an access token).
* [x] Report which mime types are allowed for posting statuses.
* [x] Find and retrieve link:{uri-nodeinfo}[NodeInfo].
* [x] Easy access to the libcurl handle for maximum configurability.
* [x] Set proxy server, User-Agent and the path to the CA bundle.
== Usage
@ -147,4 +151,6 @@ cmake --build . -- -j$(nproc --ignore=1)
** `-DWITH_DEB=YES` if you want to be able to generate a deb-package.
** `-DWITH_RPM=YES` if you want to be able to generate an rpm-package.
To create a deb or rpm package, run `make package` after compiling.
include::{uri-base}/raw/branch/main/CONTRIBUTING.adoc[]

View File

@ -177,7 +177,7 @@ public:
*/
[[nodiscard]]
answer_type patch(const endpoint_variant &endpoint,
const parametermap &parameters);
const parametermap &parameters);
/*!
* @brief Make a HTTP PATCH call.