Use localhost-IP for proxy in example.
This commit is contained in:
parent
7c81f5f4cc
commit
31df2a703d
|
@ -49,7 +49,7 @@ Have a look at the link:{uri-reference}[reference].
|
|||
int main()
|
||||
{
|
||||
mastodonpp::Instance instance{"example.com", "123AccessToken123"};
|
||||
instance.set_proxy("socks4a://[fd14::1:1]:9050");
|
||||
instance.set_proxy("socks4a://[::1]:9050");
|
||||
mastodonpp::Connection connection{instance};
|
||||
|
||||
const mastodonpp::parametermap parameters
|
||||
|
|
Loading…
Reference in New Issue
Block a user