Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

extend session.webRequest.onBeforeRequest to support a proxy URL #463

Closed
diracdeltas opened this issue Jan 30, 2018 · 1 comment
Closed
Assignees

Comments

@diracdeltas
Copy link
Member

diracdeltas commented Jan 30, 2018

currently, session.webRequest.onBeforeRequest supports two callback parameters: cancel and redirectURL. for Tor support, i am proposing a new parameter: proxyServer (or maybe proxyURL). this parameter indicates that the request should be sent through the given proxy server.

ex: { proxyServer: socks5://username:password@127.0.0.1:9050 }

@diracdeltas
Copy link
Member Author

nvm, decided to not do this for now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants