sdk.lusid.extensions.tcp_keep_alive_connector.TCPKeepAliveHTTPSConnectionPool

class TCPKeepAliveHTTPSConnectionPool(host, port=None, strict=False, timeout=<object object>, 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)[source]

This class overrides the _validate_conn method in the HTTPSConnectionPool class. This is the entry point to use for modifying the socket as it is called after the socket is created and before the request is made.

Attributes

This is a Pydantic class. For now, click on the green [source] link in the class signature above to see descriptions/allowed values for these attributes.

scheme

Methods

close

Close all pooled connections and disable the pool.

is_same_host

Check if the given url is a member of the same host as this connection pool.

request

Make a request using urlopen() with the appropriate encoding of fields based on the method used.

request_encode_body

Make a request using urlopen() with the fields encoded in the body.

request_encode_url

Make a request using urlopen() with the fields encoded in the url.

urlopen

Get a connection from the pool and perform an HTTP request.