Commit Graph

120 Commits

Author SHA1 Message Date
tastytea cac3e0b505
Simple GET request works.
continuous-integration/drone/push Build is passing Details
2020-01-04 19:05:18 +01:00
tastytea 0b525bb748
Add http_method and make_request. 2020-01-04 19:04:50 +01:00
tastytea 051cf16ceb
Remove premature global curl cleanup, improve documentation. 2020-01-04 18:25:26 +01:00
tastytea a7a861351f
Move low-level network stuff to CURLWrapper. 2020-01-04 18:11:24 +01:00
tastytea c7f61434b6
Silence some linter warnings I can't do anything about. 2020-01-04 16:24:11 +01:00
tastytea 81e579f162
Only initialize libcurl once. 2020-01-04 16:23:52 +01:00
tastytea 10caa4c7e2
Delete empty file mastodonpp.cpp. 2020-01-04 16:01:42 +01:00
tastytea c9009e1de0
Add FindCURL-workaround CMake < 3.12.
continuous-integration/drone/push Build is passing Details
2020-01-04 12:10:44 +01:00
tastytea c77a68930c
Change linking of curl to PUBLIC.
continuous-integration/drone/push Build is failing Details
2020-01-04 11:46:34 +01:00
tastytea 4acab9da5c
Add Request::get() (without real function for now).
continuous-integration/drone/push Build is failing Details
2020-01-04 11:38:58 +01:00
tastytea e6690c85b4
Add curl initialization. 2020-01-04 11:38:27 +01:00
tastytea 6d9096193b
Add CURLException. 2020-01-04 11:37:08 +01:00
tastytea 0311b868aa
Put API endpoints in class API. 2020-01-04 09:29:52 +01:00
tastytea 5f96861ea8
Rename answer to answer_type. 2020-01-04 09:12:00 +01:00
tastytea e88238a37c
Fix target_sources. 2020-01-03 16:20:27 +01:00
tastytea 59778f0d75
Add version header. 2020-01-03 15:59:43 +01:00
tastytea 2ec7809a7d
Use target_sources. 2020-01-03 15:58:41 +01:00
tastytea 4c557aae6e
Use Instance and Request classes. 2020-01-03 12:42:10 +01:00
tastytea 49e910ecd8
Add return type for requests. 2020-01-03 10:30:56 +01:00
tastytea 5dc047811e
Add skeleton. 2020-01-03 08:32:03 +01:00