Commit Graph

344 Commits

Author SHA1 Message Date
tastytea 89c50951b3
Fix User-Agent. 2020-01-10 13:41:38 +01:00
tastytea a6139b4390
Implement HTTP POST in Connection. 2020-01-10 13:08:55 +01:00
tastytea f222215116
Implement HTTP POST in CURLWrapper. 2020-01-10 13:08:34 +01:00
tastytea 529e4bca6d
Add parameterpair. 2020-01-10 12:22:14 +01:00
tastytea 1263b03999
Add a message only constructor to CURLException. 2020-01-10 12:22:00 +01:00
tastytea a9e918ba6a
Document package generation switches. 2020-01-09 19:25:27 +01:00
tastytea 23ab1d8997
Add curl version to CMake config.
continuous-integration/drone/push Build is passing Details
2020-01-09 19:23:49 +01:00
tastytea a395d0e7bf
Shorten the pkg-config file a bit. 2020-01-09 19:18:45 +01:00
tastytea 9bc1be8481
Shorten streaming example.
continuous-integration/drone/push Build is passing Details
2020-01-09 19:05:37 +01:00
tastytea f1cc8cfb2d
Typo: typo → type. 😃 2020-01-09 19:01:52 +01:00
tastytea 746d57fbc6
Merge branch 'develop' into main
continuous-integration/drone/push Build is passing Details
2020-01-09 18:50:59 +01:00
tastytea 20e3dc5e09
Fix RPM conflicts with pkg-config and cmake.
continuous-integration/drone/push Build is passing Details
2020-01-09 18:32:52 +01:00
tastytea b630ef3b2e
CI: Fix cmake arguments. 2020-01-09 18:31:01 +01:00
tastytea 7228bf8e6c
Enable cmake switches for packages.
continuous-integration/drone/push Build is passing Details
2020-01-09 18:16:04 +01:00
tastytea 10ca8e96ef
CI: Build packages for Debian buster and Ubuntu bionic.
continuous-integration/drone/push Build is passing Details
2020-01-09 18:15:16 +01:00
tastytea 3f161e866f
Add packages.cmake, to create DEB and RPM packages. 2020-01-09 18:15:02 +01:00
tastytea 7ba967a36c
Fix answer_type::get_header().
continuous-integration/drone/push Build is passing Details
The previous implementation returned a reference to an out-of-scope string.
2020-01-09 15:54:52 +01:00
tastytea 913130b57d
Escape keyword “API” in documentation. 2020-01-09 15:16:04 +01:00
tastytea 447fc05dbe
Add get_header() to answer_type.
continuous-integration/drone/push Build is passing Details
2020-01-09 14:00:40 +01:00
tastytea bb6b00114e
Clear buffers before making a request.
continuous-integration/drone/push Build is passing Details
2020-01-09 13:14:24 +01:00
tastytea bf82525c5e
Add baseurl to uri if endpoint is string_view. 2020-01-09 13:12:50 +01:00
tastytea ec41063488
Add get_new_events().
continuous-integration/drone/push Build is passing Details
A more comfortable way to consume stream events.
2020-01-09 12:24:29 +01:00
tastytea 839e29b37b
Expand section about thread safety in documentation. 2020-01-09 11:23:30 +01:00
tastytea e4a5b8e9ce
Move set_proxy() to Instance. 2020-01-09 11:23:15 +01:00
tastytea 8482f51aff
Fix curl URI.
continuous-integration/drone/push Build is passing Details
2020-01-08 22:48:10 +01:00
tastytea 8937ac77e6
Fix <code> markup.
continuous-integration/drone/push Build is passing Details
2020-01-08 22:45:46 +01:00
tastytea c9ef98353c
Merge branch 'develop' into main
continuous-integration/drone/push Build is passing Details
2020-01-08 22:42:47 +01:00
tastytea e9b0ceb4c9
Add introduction and an example to readme.
continuous-integration/drone/push Build is passing Details
2020-01-08 22:29:31 +01:00
tastytea 1f9ddf353c
Add streaming example to reference. 2020-01-08 22:29:01 +01:00
tastytea f401f9d1b2
Improve documentation for new_stream_contents(). 2020-01-08 21:56:54 +01:00
tastytea 7edcb7c507
Add streaming example. 2020-01-08 21:49:48 +01:00
tastytea 0e3b812b54
Only check for libcurl return code if it could return an error. 2020-01-08 21:36:59 +01:00
tastytea d2de78ff9e
Add streaming support. 2020-01-08 21:27:27 +01:00
tastytea 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
tastytea c93810e241
Move URI building for GET requets to add_parameters_to_uri(). 2020-01-08 17:51:53 +01:00
tastytea 6b5936a4b6
Replace append with +=.
continuous-integration/drone/push Build is passing Details
2020-01-08 17:39:47 +01:00
tastytea 4b118e75f1
Fix / ignore some clang-tidy warnings. 2020-01-08 17:38:27 +01:00
tastytea 577c252b42
Improve documentation. 2020-01-08 17:22:41 +01:00
tastytea deed340f3d
Add set_proxy(). 2020-01-08 17:20:36 +01:00
tastytea 1f78b00205
Replace string with string_view where possible. 2020-01-08 16:46:27 +01:00
tastytea d4ed04f0cd
Merge branch 'develop' into main
continuous-integration/drone/push Build is passing Details
2020-01-08 14:15:14 +01:00
tastytea 2ab0018df9
Replace arguments in URI.
continuous-integration/drone/push Build is passing Details
id, nickname, nickname_or_id, hashtag, permission_group.
2020-01-08 14:13:55 +01:00
tastytea c07fb1db71
Add support for parameters (GET). 2020-01-08 13:06:12 +01:00
tastytea 15c1e15466
Follow up to 10 HTTP redirects automatically.
This includes permanent redirects.
2020-01-08 11:53:01 +01:00
tastytea 50ae16002b
Make curlwrapper_instances explicitly atomic.
continuous-integration/drone/push Build is passing Details
2020-01-08 11:27:19 +01:00
tastytea bbd0445821
Add sections about thread safety and text input to documentation. 2020-01-08 11:07:16 +01:00
tastytea b1c99e70b8
CI: Compile exmaples.
continuous-integration/drone/push Build is passing Details
2020-01-07 09:16:30 +01:00
tastytea 709570be62
CI: Test with clang. 2020-01-07 09:13:57 +01:00
tastytea 31ce23febf
Fix include in example, prefer local header. 2020-01-07 09:02:16 +01:00
tastytea 935c84e001
Search for all directories in shorten_filename().
continuous-integration/drone/push Build is passing Details
2020-01-06 16:43:14 +01:00