Function autopush_common::endpoint::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.