autoendpoint::extractors::subscription

Function extract_public_key

source
fn extract_public_key(
    vapid: VapidHeader,
    token_info: &TokenInfo,
) -> Result<VapidHeaderWithKey, ApiError>
Expand description

Extract the VAPID public key from the headers