ProxyConfiguration#

class ProxyConfiguration(urls=None, username_ntlm=None, password_ntlm=None)[source]#

Class for representing a proxy configuration.

Args

urls: a dictionary mapping protocol or protocol and host to the URL of the proxy. Refer to https://docs.python-requests.org/en/latest/api/#requests.Session.proxies for details. username_ntlm: username used to enable NTLM user authentication. password_ntlm: password used to enable NTLM user authentication.

Attributes

Methods

ProxyConfiguration.to_dict()

Transform configuration to dictionary.

ProxyConfiguration.to_request_params()

Transform configuration to request parameters.

ProxyConfiguration.to_ws_params(ws_url)

Extract proxy information for websocket.

ProxyConfiguration.validate()

Validate configuration.