mastodonpp
0.4.0
|
Include mastodonpp.hpp, which then includes all other headers.
Use it in your CMake project like this:
Or compile your code with g++ $(pkg-config --cflags --libs mastodonpp)
.
@file:
” followed by the file name as value in the parametermap.Any unrecoverable libcurl error will be thrown as a mastodonpp::CURLException. Network errors will not be thrown, but reported via the return value.
The first time you construct an Instance, curl_global_init(3) is called. When the last Instance is destroyed, curl_global_cleanup(3) is called. Both are not thread safe.
Do not make 2 requests with the same Connection at the same time. You can create as many Connections as you want from one Instance.
If you are using libcurl with OpenSSL before 1.1.0, please read libcurl-thread(3).