Expand description
Translates the typed HTTP configuration from defect-config into a
defect_http::HttpStackConfig.
defect-config avoids a direct dependency on defect-http to keep the crate
dependency one-way (see the comment on defect_config::HttpClientConfig).
Performing this translation during CLI assembly is the most natural place — the same
stack config is shared by three providers, and any proxy URI parsing failures are
reported centrally here.
Functions§
- build_
http_ stack_ config - Construct a
defect_http::HttpStackConfigfrom the typed config.