mastodonpp
0.0.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)
.
All text input is expected to be UTF-8.
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 or Connection , curl_global_init() is called. When the last Instance or Connection is destroyed, curl_global_cleanup() is called. Both are not thread safe.