autopush_common::endpoint

Function make_endpoint

source
pub fn make_endpoint(
    uaid: &Uuid,
    chid: &Uuid,
    key: Option<&str>,
    endpoint_url: &str,
    fernet: &MultiFernet,
) -> Result<String>
Expand description

Create an v1 or v2 WebPush endpoint from the identifiers

Both endpoints use bytes instead of hex to reduce ID length.