Commit Graph

223 Commits

Author SHA1 Message Date
f0a35bfd5b
Add add_mime_part().
Makes code more readable and decreases duplication.
2020-01-11 13:17:35 +01:00
5b246a8cad
Typo.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 21:14:24 +01:00
62e4620e4d
Add access token to readme example. 2020-01-10 21:11:03 +01:00
08f72eb326
Merge branch 'develop' into main
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 20:35:53 +01:00
82f26e1be0
Fix pkg-config file.
All checks were successful
continuous-integration/drone/push Build is passing
I accidentally deleted ${name}.
2020-01-10 20:20:05 +01:00
60cfd54cb4
Update description.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 20:13:00 +01:00
b94313294b
Fix CI recipe. 2020-01-10 20:04:09 +01:00
d68d9df846
Fix CI recipe.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 19:53:21 +01:00
d956a2db47
Add installation instructions for Gentoo, Debian, Ubuntu and CentOS. 2020-01-10 19:52:36 +01:00
caf94e6c17
Add example03 to reference.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 19:40:16 +01:00
1d2c088af9
Change example in readme.
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-01-10 19:38:06 +01:00
1831bb1ab2
Add example: post_status.cpp. 2020-01-10 19:32:04 +01:00
b9f832332a
Fix description of streaming example. 2020-01-10 19:31:40 +01:00
b2e9d97fd9
Version bump 0.1.0. 2020-01-10 19:10:33 +01:00
e134745dd4
Merge branch 'develop' into main 2020-01-10 19:10:09 +01:00
628130e21a
Add test for Connection.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 19:09:25 +01:00
67bded42fe
Add tests for Instance. 2020-01-10 19:09:22 +01:00
fbcded6e1e
Simplified buffer_mutex documentation. 2020-01-10 19:03:58 +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
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 17:43:50 +01:00
20167fdce3
Replace if constexpr with preprocessor if.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 17:15:23 +01:00
c47a62969f
Only use CURLAUTH_BEARER if libcurl supports it.
Some checks failed
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.
Some checks failed
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
108aeea771
Update readme. 2020-01-10 14:27:15 +01:00
f7191d1f3b
Add support for setting the access token. 2020-01-10 14:27:00 +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
529e4bca6d
Add parameterpair. 2020-01-10 12:22:14 +01:00
1263b03999
Add a message only constructor to CURLException. 2020-01-10 12:22:00 +01:00
a9e918ba6a
Document package generation switches. 2020-01-09 19:25:27 +01:00
23ab1d8997
Add curl version to CMake config.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 19:23:49 +01:00
a395d0e7bf
Shorten the pkg-config file a bit. 2020-01-09 19:18:45 +01:00
9bc1be8481
Shorten streaming example.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 19:05:37 +01:00
f1cc8cfb2d
Typo: typo → type. 😃 2020-01-09 19:01:52 +01:00
746d57fbc6
Merge branch 'develop' into main
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 18:50:59 +01:00
20e3dc5e09
Fix RPM conflicts with pkg-config and cmake.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 18:32:52 +01:00
b630ef3b2e
CI: Fix cmake arguments. 2020-01-09 18:31:01 +01:00
7228bf8e6c
Enable cmake switches for packages.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 18:16:04 +01:00
10ca8e96ef
CI: Build packages for Debian buster and Ubuntu bionic.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 18:15:16 +01:00
3f161e866f
Add packages.cmake, to create DEB and RPM packages. 2020-01-09 18:15:02 +01:00
7ba967a36c
Fix answer_type::get_header().
All checks were successful
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
913130b57d
Escape keyword “API” in documentation. 2020-01-09 15:16:04 +01:00
447fc05dbe
Add get_header() to answer_type.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 14:00:40 +01:00
bb6b00114e
Clear buffers before making a request.
All checks were successful
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