RequestHTTPSenderConfiguration Class

Requests specific HTTP sender configuration.

Inheritance
RequestHTTPSenderConfiguration

Constructor

RequestHTTPSenderConfiguration(filepath: Optional[str] = None)

Parameters

filepath
str
default value: None

Path to existing config file (optional).

Methods

load

Load configuration from existing file.

save

Save current configuration to file.

load

Load configuration from existing file.

load(filepath)

Parameters

filepath
str
Required

Path to existing config file.

Exceptions

ValueError if supplied config file is invalid.

save

Save current configuration to file.

save(filepath)

Parameters

filepath
str
Required

Path to file where settings will be saved.

Exceptions

ValueError if supplied filepath cannot be written to.