masto
    Preparing search index...

    Interface WebPushSubscription

    Represents a subscription to the push streaming server.

    interface WebPushSubscription {
        alerts: WebPushSubscriptionAlerts;
        endpoint: string;
        id: string;
        policy: keyof WebPushSubscriptionPolicyRegistry;
        serverKey: string;
    }
    Index

    Properties

    Which alerts should be delivered to the endpoint.

    endpoint: string

    Where push alerts will be sent to.

    id: string

    The id of the push subscription in the database.

    serverKey: string

    The streaming server's VAPID key.