class documentation

class SOCKSProxyManager(PoolManager): (source)

View In Hierarchy

A version of the urllib3 ProxyManager that routes connections via the defined SOCKS proxy.

Method __init__ Undocumented
Instance Variable pool_classes_by_scheme Undocumented
Instance Variable proxy_url Undocumented

Inherited from PoolManager:

Method __enter__ Undocumented
Method __exit__ Undocumented
Method clear Empty our store of pools and direct them all to close.
Method connection_from_context Get a :class:`urllib3.connectionpool.ConnectionPool` based on the request context.
Method connection_from_host Get a :class:`urllib3.connectionpool.ConnectionPool` based on the host, port, and scheme.
Method connection_from_pool_key Get a :class:`urllib3.connectionpool.ConnectionPool` based on the provided pool key.
Method connection_from_url Similar to :func:`urllib3.connectionpool.connection_from_url`.
Method urlopen Same as :meth:`urllib3.HTTPConnectionPool.urlopen` with custom cross-host redirect logic and only sends the request-uri portion of the ``url``.
Class Variable proxy Undocumented
Class Variable proxy_config Undocumented
Instance Variable connection_pool_kw Undocumented
Instance Variable key_fn_by_scheme Undocumented
Instance Variable pools Undocumented
Method _merge_pool_kwargs Merge a dictionary of override values for self.connection_pool_kw.
Method _new_pool Create a new :class:`urllib3.connectionpool.ConnectionPool` based on host, port, scheme, and any additional pool keyword arguments.
Method _proxy_requires_url_absolute_form Indicates if the proxy requires the complete destination URL in the request. Normally this is only needed when not using an HTTP CONNECT tunnel.
Method _validate_proxy_scheme_url_selection Validates that were not attempting to do TLS in TLS connections on Python2 or with unsupported SSL implementations.

Inherited from RequestMethods (via PoolManager):

Method request Make a request using :meth:`urlopen` with the appropriate encoding of ``fields`` based on the ``method`` used.
Method request_encode_body Make a request using :meth:`urlopen` with the ``fields`` encoded in the body. This is useful for request methods like POST, PUT, PATCH, etc.
Method request_encode_url Make a request using :meth:`urlopen` with the ``fields`` encoded in the url. This is useful for request methods like GET, HEAD, DELETE, etc.
Instance Variable headers Undocumented
Class Variable _encode_url_methods Undocumented
def __init__(self, proxy_url, username=None, password=None, num_pools=10, headers=None, **connection_pool_kw): (source)
proxy_url = (source)

Undocumented