fbradyirl / webex_bot

Python package for a Webex Bot based on websockets.
MIT License
68 stars 44 forks source link

Add support for proxies #49

Closed mochipon closed 4 months ago

mochipon commented 5 months ago

This pull request makes it possible to use the webex_bot in a proxy environment. As support for proxies in websockets has been stucked for over five years (ref. https://github.com/python-websockets/websockets/issues/364), I've decided to introduce the websockets_proxy library as a drop-in replacement.

The additional library is not necessary for those who do not require a proxy, so it might be better to offer this feature as an optional. To support proxies, you will need to explicitly include the [proxy] option when installing.

fixes #35 #39

mochipon commented 5 months ago

@fbradyirl Sorry for bothering you due to git mis-operation. This PR is ready for merge, thank you.

fbradyirl commented 4 months ago

Superseded by #56