config_from_table

Function config_from_table 

Source
pub fn config_from_table(
    table: &impl GetTomlValue,
) -> Result<Option<RuntimeConfig>>
Expand description

Get the runtime configuration for outbound HTTP from a TOML table.

Expects table to be in the format:

[outbound_http]
connection_pooling = true # optional, defaults to true
max_concurrent_requests = 10 # optional, defaults to unlimited