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