Commit Graph

24 Commits

Author SHA1 Message Date
tastytea c9ea49ed91
Enhance documentation for Instance and Connection.
continuous-integration/drone/push Build is passing Details
2020-01-24 02:18:54 +01:00
tastytea 837524661c
Indentation fix. 2020-01-18 18:09:49 +01:00
tastytea a8e342202d
Move types into types.hpp and add answer_type::next() and prev(). 2020-01-14 20:44:08 +01:00
tastytea 975fe57677
Simplify connection setup.
By adding CURLWrapper::setup_connection_properties.
2020-01-12 17:24:02 +01:00
tastytea 5c61d6fd27
Add support for DELETE requests. 2020-01-11 16:24:06 +01:00
tastytea 03b097c6a6
Fix patch() and put() requests without parameters.
Connection::patch() and Connection::put() without parameters were making a POST
request.
2020-01-11 16:21:44 +01:00
tastytea 905a5aae0e
Fix version information for Connection::patch() and put().
continuous-integration/drone/push Build is passing Details
2020-01-11 16:16:55 +01:00
tastytea f556df296f
Add HTTP methods PATCH and PUT. 2020-01-11 16:07:40 +01:00
tastytea 7ac1bc1377
Hide CURLWrapper::cancel_stream(). 2020-01-10 18:57:42 +01:00
tastytea a6139b4390
Implement HTTP POST in Connection. 2020-01-10 13:08:55 +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 f401f9d1b2
Improve documentation for new_stream_contents(). 2020-01-08 21:56:54 +01:00
tastytea d2de78ff9e
Add streaming support. 2020-01-08 21:27:27 +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 c07fb1db71
Add support for parameters (GET). 2020-01-08 13:06:12 +01:00
tastytea 5d90fa97f1
Renamed return_types.hpp to answer.hpp.
continuous-integration/drone/push Build is passing Details
2020-01-06 14:43:10 +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