Skip to main content

is_early_data_rejected

Function is_early_data_rejected 

pub fn is_early_data_rejected(error: &(dyn Error + 'static)) -> bool
Available on crate features http and std only.
Expand description

Recognize a per-request TLS early rejection through contextual error wrappers.

Pass error.as_ref() for a boxed error, or &error for a concrete error.