Skip to main content

Module subscriptions

Module subscriptions 

Source

Structs§

Subscription
A subscription established when the client’s subscribe to a method
Subscriptions 🔒
Manages subscriptions for the client.

Functions§

decode_notification 🔒
Parse a raw notification message and decode it with decoder.
default_notification_decoder 🔒
Default decoder: params is {"subscription": id, "result": value}.

Type Aliases§

NotificationDecoder
Turns a received notification into its subscription id and result. Must match the server’s notification encoder.