autoendpoint::extractors::subscription

Function parse_vapid

source
fn parse_vapid(
    token_info: &TokenInfo,
    metrics: &StatsdClient,
) -> Result<Option<VapidHeader>, ApiError>
Expand description

Parse the authorization header for VAPID data and update metrics