ClientProxies Class
Proxy configuration settings. Proxies can also be configured using HTTP_PROXY and HTTPS_PROXY environment variables, in which case set use_env_settings to True.
- Inheritance
-
builtins.objectClientProxies
Constructor
ClientProxies()
Methods
| add |
Add proxy. |
add
Add proxy.
add(protocol: str, proxy_url: str) -> None
Parameters
- protocol
- str
Required
Protocol for which proxy is to be applied. Can be 'http', 'https', etc. Can also include host.
- proxy_url
- str
Required
The proxy URL. Where basic auth is required, use the format: http://user:password@host
Feedback
Submit and view feedback for