Push Manager
Object representing the PushManager used to manage subscriptions
The PushManager
object is the main interface provided by this crate it allow consumers to manage push subscriptions. It exposes methods that interact with the autopush server
and persists state representing subscriptions.
Constructors
This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.
Creates a new `PushManager` object, not subscribed to any channels
Functions
Retrieves an existing push subscription
Subscribes to a new channel and gets the Subscription Info block
Unsubscribe from given scope, ending that subscription for the user.
Unsubscribe all channels for the user
Verifies the connection state