Function compile_for_policy
pub fn compile_for_policy(
transport: TransportShape,
capture: &TlsCapture,
policy: &BoringTlsConnectorConfig<'_>,
retention: NonNegotiableValues,
report: &mut ProfilePreservationReport,
) -> Result<TlsClientConfig, Box<dyn Error + Sync + Send>>Available on crate features
boring and ua only.Expand description
Compile wire settings while retaining explicit caller version, cipher and ECH policy. Other caller policy, including verification and credentials, stays in the connection owner’s effective configuration and is not returned as an override.