|
1b4ad05acb
|
Add set_useragent().
|
2020-01-12 17:37:06 +01:00 |
|
|
04526f37cc
|
Make argument of CURLWrapper::set_cafile() const.
|
2020-01-12 17:27:40 +01:00 |
|
|
975fe57677
|
Simplify connection setup.
By adding CURLWrapper::setup_connection_properties.
|
2020-01-12 17:24:02 +01:00 |
|
|
02b0b05aa1
|
Add Instance::ObtainToken.
|
2020-01-12 16:28:04 +01:00 |
|
|
deeffc5adf
|
Bugfix in endpoint translation.
|
2020-01-12 16:06:44 +01:00 |
|
|
79c5087ca5
|
Marked some functions noexcept.
continuous-integration/drone/push Build is failing
|
2020-01-12 15:28:26 +01:00 |
|
|
97eb269865
|
Add Instance::set_cainfo().
|
2020-01-12 13:37:53 +01:00 |
|
|
cd31af94a6
|
Bugfix in endpoint translation.
|
2020-01-12 11:45:15 +01:00 |
|
|
fd5275f4a3
|
Return default max chars on exception in get_max_chars().
|
2020-01-11 23:04:40 +01:00 |
|
|
1a99e8a276
|
Made code in Connection::get_new_events() clearer.
|
2020-01-11 22:16:37 +01:00 |
|
|
a6b328c2d1
|
Add Instance::get_post_formats().
continuous-integration/drone/push Build is passing
|
2020-01-11 20:05:11 +01:00 |
|
|
b9bf28c264
|
Add Instance::get_nodeinfo().
|
2020-01-11 19:51:16 +01:00 |
|
|
40d985f9af
|
Add missing header.
|
2020-01-11 18:13:15 +01:00 |
|
|
597cf41668
|
Don't check errors if it can't fail.
continuous-integration/drone/push Build is passing
|
2020-01-11 18:08:33 +01:00 |
|
|
078f6d0c73
|
Log URI replacements.
|
2020-01-11 16:42:01 +01:00 |
|
|
4a940062d8
|
Fix wrong endpoint translations.
I forgot a lot of <ID>s.
|
2020-01-11 16:40:13 +01:00 |
|
|
5c61d6fd27
|
Add support for DELETE requests.
|
2020-01-11 16:24:06 +01:00 |
|
|
c67c9db40c
|
Fix wrong endpoint translations.
|
2020-01-11 16:13:14 +01:00 |
|
|
f556df296f
|
Add HTTP methods PATCH and PUT.
|
2020-01-11 16:07:40 +01:00 |
|
|
5051664136
|
Fixed some pleroma endpoints.
|
2020-01-11 15:56:16 +01:00 |
|
|
8d04f7e9ea
|
Add support for sending files in HTTP forms.
|
2020-01-11 14:36:49 +01:00 |
|
|
f0a35bfd5b
|
Add add_mime_part().
Makes code more readable and decreases duplication.
|
2020-01-11 13:17:35 +01:00 |
|
|
7ac1bc1377
|
Hide CURLWrapper::cancel_stream().
|
2020-01-10 18:57:42 +01:00 |
|
|
796e159cdc
|
Actually set the proxy to the string in CURLWrappper::set_proxy().
|
2020-01-10 18:50:53 +01:00 |
|
|
f601e770ac
|
Define CURLAUTH_BEARER as CURLAUTH_ANY with libcurl < 7.61.0
continuous-integration/drone/push Build is passing
|
2020-01-10 17:43:50 +01:00 |
|
|
20167fdce3
|
Replace if constexpr with preprocessor if.
continuous-integration/drone/push Build is passing
|
2020-01-10 17:15:23 +01:00 |
|
|
c47a62969f
|
Only use CURLAUTH_BEARER if libcurl supports it.
continuous-integration/drone/push Build is failing
|
2020-01-10 17:10:36 +01:00 |
|
|
da033c3ffc
|
Silence clang-tidy warnings I can't do anything about.
continuous-integration/drone/push Build is failing
|
2020-01-10 14:35:44 +01:00 |
|
|
cb7019a0fd
|
Allow HTTP POST without parameters.
|
2020-01-10 14:33:33 +01:00 |
|
|
c3bb9a20c4
|
Send the access token.
|
2020-01-10 14:26:50 +01:00 |
|
|
1910e780b0
|
Add vector fields to HTTP forms.
|
2020-01-10 14:24:35 +01:00 |
|
|
89c50951b3
|
Fix User-Agent.
|
2020-01-10 13:41:38 +01:00 |
|
|
a6139b4390
|
Implement HTTP POST in Connection.
|
2020-01-10 13:08:55 +01:00 |
|
|
f222215116
|
Implement HTTP POST in CURLWrapper.
|
2020-01-10 13:08:34 +01:00 |
|
|
1263b03999
|
Add a message only constructor to CURLException.
|
2020-01-10 12:22:00 +01:00 |
|
|
7ba967a36c
|
Fix answer_type::get_header().
continuous-integration/drone/push Build is passing
The previous implementation returned a reference to an out-of-scope string.
|
2020-01-09 15:54:52 +01:00 |
|
|
447fc05dbe
|
Add get_header() to answer_type.
continuous-integration/drone/push Build is passing
|
2020-01-09 14:00:40 +01:00 |
|
|
bb6b00114e
|
Clear buffers before making a request.
continuous-integration/drone/push Build is passing
|
2020-01-09 13:14:24 +01:00 |
|
|
bf82525c5e
|
Add baseurl to uri if endpoint is string_view.
|
2020-01-09 13:12:50 +01:00 |
|
|
ec41063488
|
Add get_new_events().
continuous-integration/drone/push Build is passing
A more comfortable way to consume stream events.
|
2020-01-09 12:24:29 +01:00 |
|
|
839e29b37b
|
Expand section about thread safety in documentation.
|
2020-01-09 11:23:30 +01:00 |
|
|
e4a5b8e9ce
|
Move set_proxy() to Instance.
|
2020-01-09 11:23:15 +01:00 |
|
|
7edcb7c507
|
Add streaming example.
|
2020-01-08 21:49:48 +01:00 |
|
|
0e3b812b54
|
Only check for libcurl return code if it could return an error.
|
2020-01-08 21:36:59 +01:00 |
|
|
d2de78ff9e
|
Add streaming support.
|
2020-01-08 21:27:27 +01:00 |
|
|
a724006854
|
Make curl writer non-satatic and add static wrapper.
We need to use the mutex, a class member, from within the writer function.
|
2020-01-08 19:55:34 +01:00 |
|
|
c93810e241
|
Move URI building for GET requets to add_parameters_to_uri().
|
2020-01-08 17:51:53 +01:00 |
|
|
6b5936a4b6
|
Replace append with +=.
continuous-integration/drone/push Build is passing
|
2020-01-08 17:39:47 +01:00 |
|
|
4b118e75f1
|
Fix / ignore some clang-tidy warnings.
|
2020-01-08 17:38:27 +01:00 |
|
|
deed340f3d
|
Add set_proxy().
|
2020-01-08 17:20:36 +01:00 |
|