Terbau / fortnitepy

Async python library for interacting with Fortnite's API and XMPP services.
MIT License
148 stars 50 forks source link

Add proxy support #183

Open Luc1412 opened 1 year ago

Luc1412 commented 1 year ago

Add support for proxies. This can be done by simply adding proxy and proxy_auth to BaseClient similar to discord.py that get's passed on every request. Unfortunately aioxmpp seems to be unmaintained and missing proxy support. Switching to a maintained alternative that supports proxies could be an alternative.

Also defining proxied endpoints could be useful. When passed these are the only proxied endpoints to save some proxy bandwidth. A possible design is just passing the endpoints as a String, but there is probably a better design.