Expand description
Publish-Subscribe extension for JSON-RPC
Structs§
- Publish-Subscribe extension of
IoHandler
. - RPC client session Keeps track of active subscriptions and unsubscribes from them upon dropping.
- A handle to send notifications directly to subscribed client.
- Represents a subscribing client. Subscription handlers can either reject this subscription request or assign an unique id.
Enums§
- Unique subscription id. NOTE Assigning same id to different requests will cause the previous request to be unsubscribed.
Traits§
- Metadata extension for pub-sub method handling.
- Subscribe handler
- Unsubscribe handler
Functions§
- Creates new subscribe and unsubscribe RPC methods
Type Aliases§
- Subscription send result.
- Raw transport error.