Commit Graph

160 Commits

Author SHA1 Message Date
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
ec41063488
Add get_new_events().
All checks were successful
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
8482f51aff
Fix curl URI.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-08 22:48:10 +01:00
8937ac77e6
Fix <code> markup.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-08 22:45:46 +01:00
c9ef98353c
Merge branch 'develop' into main
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-08 22:42:47 +01:00
e9b0ceb4c9
Add introduction and an example to readme.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-08 22:29:31 +01:00
1f9ddf353c
Add streaming example to reference. 2020-01-08 22:29:01 +01:00
f401f9d1b2
Improve documentation for new_stream_contents(). 2020-01-08 21:56:54 +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