Skip to content

PushSubscription

Values

getKey

let getKey: (
WebAPI.PushManagerAPI.pushSubscription,
WebAPI.PushManagerAPI.pushEncryptionKeyName,
) => ArrayBuffer.t

toJSON

let toJSON: WebAPI.PushManagerAPI.pushSubscription => WebAPI.PushManagerAPI.pushSubscriptionJSON

unsubscribe

let unsubscribe: WebAPI.PushManagerAPI.pushSubscription => Promise.t<bool>

Parameters

WebAPI.PushManagerAPI.pushSubscription

Return type

Promise.t< bool >