Skip to content

PushSubscription

[<Interface>]
type PushSubscription =
    abstract member endpoint: string
    abstract member expirationTime: EpochTimeStamp option
    abstract member options: PushSubscriptionOptions
    abstract member getKey (name: PushEncryptionKeyName) : obj option
    abstract member toJSON () : PushSubscriptionJSON
    abstract member unsubscribe () : Promise<bool>
AssemblyGlutinum.Web
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>] [<Global>]

Properties

abstract member endpoint: string
abstract member expirationTime: EpochTimeStamp option
abstract member options: PushSubscriptionOptions

Methods

abstract member getKey (name: PushEncryptionKeyName) : obj option
abstract member toJSON () : PushSubscriptionJSON
abstract member unsubscribe () : Promise<bool>