Commit Graph

23 Commits

Author SHA1 Message Date
tastytea f4bd5abd01
Fix some warnings.
Avoid copy, initialize members in header, initialize variables.
2020-11-13 14:17:44 +01:00
tastytea 9efc8d2dfd
Reformat source files. 2020-11-13 14:00:03 +01:00
tastytea 185ab91978
Rename buffer_mutex → _buffer_mutex.
continuous-integration/drone/push Build is passing Details
2020-01-28 08:11:56 +01:00
tastytea 9523de8788
Mark buffer variables const.
continuous-integration/drone/push Build is passing Details
2020-01-20 02:46:00 +01:00
tastytea 975fe57677
Simplify connection setup.
By adding CURLWrapper::setup_connection_properties.
2020-01-12 17:24:02 +01:00
tastytea 97eb269865
Add Instance::set_cainfo(). 2020-01-12 13:37:53 +01:00
tastytea 1a99e8a276
Made code in Connection::get_new_events() clearer. 2020-01-11 22:16:37 +01:00
tastytea 5c61d6fd27
Add support for DELETE requests. 2020-01-11 16:24:06 +01:00
tastytea f556df296f
Add HTTP methods PATCH and PUT. 2020-01-11 16:07:40 +01:00
tastytea c3bb9a20c4
Send the access token. 2020-01-10 14:26:50 +01:00
tastytea a6139b4390
Implement HTTP POST in Connection. 2020-01-10 13:08:55 +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 e4a5b8e9ce
Move set_proxy() to Instance. 2020-01-09 11:23:15 +01:00
tastytea d2de78ff9e
Add streaming support. 2020-01-08 21:27:27 +01:00
tastytea 6b5936a4b6
Replace append with +=.
continuous-integration/drone/push Build is passing Details
2020-01-08 17:39:47 +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 c07fb1db71
Add support for parameters (GET). 2020-01-08 13:06:12 +01:00
tastytea 159cd05f5a
Make _endpoint_map static. 2020-01-05 19:00:24 +01:00
tastytea 571206c9f4
Only construct 1 API per Connection.
continuous-integration/drone/push Build is passing Details
2020-01-05 15:20:59 +01:00
tastytea 9b49bc1d17
Optimize request-flow. 😃 2020-01-05 10:35:38 +01:00
tastytea f872707036
Renamed “Request” to “Connection”.
It will be used not for only one request, but for all requests to an instance.
2020-01-05 09:38:13 +01:00