Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
pip._vendor.urllib3.connectionpool.HTTPSConnectionPool Class Reference
Inheritance diagram for pip._vendor.urllib3.connectionpool.HTTPSConnectionPool:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.urllib3.connectionpool.HTTPSConnectionPool:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, host, port=None, strict=False, timeout=Timeout.DEFAULT_TIMEOUT, maxsize=1, block=False, headers=None, retries=None, _proxy=None, _proxy_headers=None, key_file=None, cert_file=None, cert_reqs=None, key_password=None, ca_certs=None, ssl_version=None, assert_hostname=None, assert_fingerprint=None, ca_cert_dir=None, **conn_kw)
 
- Public Member Functions inherited from pip._vendor.urllib3.connectionpool.HTTPConnectionPool
 close (self)
 
 is_same_host (self, url)
 
 urlopen (self, method, url, body=None, headers=None, retries=None, redirect=True, assert_same_host=True, timeout=_Default, pool_timeout=None, release_conn=None, chunked=False, body_pos=None, **response_kw)
 
- Public Member Functions inherited from pip._vendor.urllib3.connectionpool.ConnectionPool
 __str__ (self)
 
 __enter__ (self)
 
 __exit__ (self, exc_type, exc_val, exc_tb)
 
- Public Member Functions inherited from pip._vendor.urllib3.request.RequestMethods
 request (self, method, url, fields=None, headers=None, **urlopen_kw)
 
 request_encode_url (self, method, url, fields=None, headers=None, **urlopen_kw)
 
 request_encode_body (self, method, url, fields=None, headers=None, encode_multipart=True, multipart_boundary=None, **urlopen_kw)
 

Public Attributes

 key_file
 
 cert_file
 
 cert_reqs
 
 key_password
 
 ca_certs
 
 ca_cert_dir
 
 ssl_version
 
 assert_hostname
 
 assert_fingerprint
 
 port
 
 proxy_headers
 
 num_connections
 
 host
 
- Public Attributes inherited from pip._vendor.urllib3.connectionpool.HTTPConnectionPool
 strict
 
 timeout
 
 retries
 
 pool
 
 block
 
 proxy
 
 proxy_headers
 
 proxy_config
 
 num_connections
 
 num_requests
 
 conn_kw
 
 host
 
 scheme
 
 port
 
- Public Attributes inherited from pip._vendor.urllib3.connectionpool.ConnectionPool
 host
 
 port
 
- Public Attributes inherited from pip._vendor.urllib3.request.RequestMethods
 headers
 

Static Public Attributes

str scheme = "https"
 
 ConnectionCls = HTTPSConnection
 
- Static Public Attributes inherited from pip._vendor.urllib3.connectionpool.HTTPConnectionPool
str scheme = "http"
 
 ConnectionCls = HTTPConnection
 
 ResponseCls = HTTPResponse
 
- Static Public Attributes inherited from pip._vendor.urllib3.connectionpool.ConnectionPool
 scheme = None
 
 QueueCls = LifoQueue
 

Protected Member Functions

 _prepare_conn (self, conn)
 
 _prepare_proxy (self, conn)
 
 _new_conn (self)
 
 _validate_conn (self, conn)
 
- Protected Member Functions inherited from pip._vendor.urllib3.connectionpool.HTTPConnectionPool
 _get_conn (self, timeout=None)
 
 _put_conn (self, conn)
 
 _get_timeout (self, timeout)
 
 _raise_timeout (self, err, url, timeout_value)
 
 _make_request (self, conn, method, url, timeout=_Default, chunked=False, **httplib_request_kw)
 
 _absolute_url (self, path)
 

Protected Attributes

 _proxy_host
 
- Protected Attributes inherited from pip._vendor.urllib3.connectionpool.ConnectionPool
 _proxy_host
 

Additional Inherited Members

- Static Protected Attributes inherited from pip._vendor.urllib3.request.RequestMethods
dict _encode_url_methods = {"DELETE", "GET", "HEAD", "OPTIONS"}
 

Detailed Description

Same as :class:`.HTTPConnectionPool`, but HTTPS.

:class:`.HTTPSConnection` uses one of ``assert_fingerprint``,
``assert_hostname`` and ``host`` in this order to verify connections.
If ``assert_hostname`` is False, no verification is done.

The ``key_file``, ``cert_file``, ``cert_reqs``, ``ca_certs``,
``ca_cert_dir``, ``ssl_version``, ``key_password`` are only used if :mod:`ssl`
is available and are fed into :meth:`urllib3.util.ssl_wrap_socket` to upgrade
the connection socket into an SSL socket.

Constructor & Destructor Documentation

◆ __init__()

pip._vendor.urllib3.connectionpool.HTTPSConnectionPool.__init__ (   self,
  host,
  port = None,
  strict = False,
  timeout = Timeout.DEFAULT_TIMEOUT,
  maxsize = 1,
  block = False,
  headers = None,
  retries = None,
  _proxy = None,
  _proxy_headers = None,
  key_file = None,
  cert_file = None,
  cert_reqs = None,
  key_password = None,
  ca_certs = None,
  ssl_version = None,
  assert_hostname = None,
  assert_fingerprint = None,
  ca_cert_dir = None,
**  conn_kw 
)

Member Function Documentation

◆ _new_conn()

pip._vendor.urllib3.connectionpool.HTTPSConnectionPool._new_conn (   self)
protected
Return a fresh :class:`http.client.HTTPSConnection`.

Reimplemented from pip._vendor.urllib3.connectionpool.HTTPConnectionPool.

◆ _prepare_conn()

pip._vendor.urllib3.connectionpool.HTTPSConnectionPool._prepare_conn (   self,
  conn 
)
protected
Prepare the ``connection`` for :meth:`urllib3.util.ssl_wrap_socket`
and establish the tunnel if proxy is used.

◆ _prepare_proxy()

pip._vendor.urllib3.connectionpool.HTTPSConnectionPool._prepare_proxy (   self,
  conn 
)
protected
Establishes a tunnel connection through HTTP CONNECT.

Tunnel connection is established early because otherwise httplib would
improperly set Host: header to proxy's IP:port.

Reimplemented from pip._vendor.urllib3.connectionpool.HTTPConnectionPool.

◆ _validate_conn()

pip._vendor.urllib3.connectionpool.HTTPSConnectionPool._validate_conn (   self,
  conn 
)
protected
Called right before a request is made, after the socket is created.

Reimplemented from pip._vendor.urllib3.connectionpool.HTTPConnectionPool.


The documentation for this class was generated from the following file: