PushSubscription

@Serializable
data class PushSubscription(val subscriptionId: String, val endpoint: String, val serverKey: String, val alerts: Alerts)

Represents a subscription to the push streaming server.

Constructors

Link copied to clipboard
constructor(subscriptionId: String, endpoint: String, serverKey: String, alerts: Alerts)

Properties

Link copied to clipboard

Which alerts should be delivered to the endpoint.

Link copied to clipboard

URL where push alerts will be sent to.

Link copied to clipboard

The streaming server's VAPID key.

Link copied to clipboard