ConnectionConfiguration Class

HTTP transport connection configuration settings.

Common properties that can be configured on all transports. Found in the Configuration object.

Inheritance
builtins.object
ConnectionConfiguration

Constructor

ConnectionConfiguration(**kwargs)

Parameters

connection_timeout
int

A single float in seconds for the connection timeout. Defaults to 300 seconds.

read_timeout
int

A single float in seconds for the read timeout. Defaults to 300 seconds.

connection_verify
bool

SSL certificate verification. Enabled by default. Set to False to disable, alternatively can be set to the path to a CA_BUNDLE file or directory with certificates of trusted CAs.

connection_cert
str

Client-side certificates. You can specify a local cert to use as client side certificate, as a single file (containing the private key and the certificate) or as a tuple of both files' paths.

connection_data_block_size
int

The block size of data sent over the connection. Defaults to 4096 bytes.