Commit Graph

17 Commits

Author SHA1 Message Date
1f78b00205
Replace string with string_view where possible. 2020-01-08 16:46:27 +01:00
2ab0018df9
Replace arguments in URI.
All checks were successful
continuous-integration/drone/push Build is passing
id, nickname, nickname_or_id, hashtag, permission_group.
2020-01-08 14:13:55 +01:00
c07fb1db71
Add support for parameters (GET). 2020-01-08 13:06:12 +01:00
15c1e15466
Follow up to 10 HTTP redirects automatically.
This includes permanent redirects.
2020-01-08 11:53:01 +01:00
50ae16002b
Make curlwrapper_instances explicitly atomic.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-08 11:27:19 +01:00
f01ec3eee0
Set User-Agent. 2020-01-06 16:38:09 +01:00
3c6c56d973
Make curlwrapper_instances static. 2020-01-05 20:27:28 +01:00
be2f00faae
Do global curl init / cleanup only once.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-05 19:09:22 +01:00
fba5a576f0
Add support for HTTP method PUT. 2020-01-05 16:16:22 +01:00
a77f773c46
Add support for HTTP methods PATCH and DELETE. 2020-01-05 13:59:43 +01:00
31950d280d
make_request(): Return complete answer_type,
and don't throw if curl_easy_perform() fails.
2020-01-05 12:32:57 +01:00
078130bac6
Change argument “meth” to “method” in make_request(). 2020-01-05 12:21:58 +01:00
9c279822b2
Add headers to answer_type. 2020-01-05 12:03:23 +01:00
9b49bc1d17
Optimize request-flow. 😃 2020-01-05 10:35:38 +01:00
0b525bb748
Add http_method and make_request. 2020-01-04 19:04:50 +01:00
051cf16ceb
Remove premature global curl cleanup, improve documentation. 2020-01-04 18:25:26 +01:00
a7a861351f
Move low-level network stuff to CURLWrapper. 2020-01-04 18:11:24 +01:00