diff options
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index f471c4e..9bc43f0 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -42,4 +42,10 @@ answer_type Connection::get(const endpoint_variant &endpoint, return make_request(http_method::GET, uri, parameters); } +void Connection::set_proxy(const string_view proxy) +{ + CURLWrapper::set_proxy(proxy); + _instance.set_proxy(proxy); +} + } // namespace mastodonpp |