Commit Graph

22 Commits

Author SHA1 Message Date
02b0b05aa1
Add Instance::ObtainToken. 2020-01-12 16:28:04 +01:00
79c5087ca5
Marked some functions noexcept.
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-12 15:28:26 +01:00
97eb269865
Add Instance::set_cainfo(). 2020-01-12 13:37:53 +01:00
a6b328c2d1
Add Instance::get_post_formats().
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-11 20:05:11 +01:00
b9bf28c264
Add Instance::get_nodeinfo(). 2020-01-11 19:51:16 +01:00
d749e3aa23
Improve documentation for get_max_chars(). 2020-01-11 17:59:14 +01:00
f7191d1f3b
Add support for setting the access token. 2020-01-10 14:27:00 +01:00
e4a5b8e9ce
Move set_proxy() to Instance. 2020-01-09 11:23:15 +01:00
4b118e75f1
Fix / ignore some clang-tidy warnings. 2020-01-08 17:38:27 +01:00
1f78b00205
Replace string with string_view where possible. 2020-01-08 16:46:27 +01:00
0638f8fe9a
Query max_toot_chars the first time get_max_chars() is called. 2020-01-06 09:31:05 +01:00
6663cca653
Change signature of Instance. 2020-01-06 09:11:32 +01:00
61a26dbb67
Query instance for max_toot_chars. 2020-01-05 11:17:10 +01:00
db315a3a70
Instance: Add getters for hostname, baseuri and access_token. 2020-01-05 10:33:54 +01:00
a7a861351f
Move low-level network stuff to CURLWrapper. 2020-01-04 18:11:24 +01:00
81e579f162
Only initialize libcurl once. 2020-01-04 16:23:52 +01:00
5eb11534a5
Update description for Instance. 2020-01-04 13:29:36 +01:00
8f03c49569
Add constructors and assignment operators to Instance.
Explicitly set copy & move constructors to default, explicitly delete copy &
move assignment operators. Make destructor virtual.
2020-01-04 13:27:36 +01:00
892f1c6f87
Fix headers in Doxygen output. 2020-01-04 12:04:47 +01:00
e6690c85b4
Add curl initialization. 2020-01-04 11:38:27 +01:00
9874e76de2
Improve documentation.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-03 13:05:00 +01:00
4c557aae6e
Use Instance and Request classes. 2020-01-03 12:42:10 +01:00