Expand description

Services for handling JSON-RPC requests.

Requests handled by the server are first routed via the primary ServiceHandler and any response is sent back to the client making the request; these requests may mutate the server state.

Afterwards the same request is sent to the NotifyHandler which must never mutate the server state but may send notifications to connected clients based on the updated server state.

Notifications sent to connected clients are sent as a tuple of String event name followed by an arbitrary JSON Value payload for the event.

Structs

Service for broadcasting notifications to connected clients.

Service for replying to client requests.

Enums

Error thrown by the JSON-RPC services.

Constants

Error data indicating the connection should be closed.

Method to create a group.

Method to join a group.

Method to notify of a proposal for signing.

Notification sent when a proposal has been received.

Method to notify a proposal has been signed.

Notification sent when a proposal has been signed.

Notification sent when a session has been marked as finished by all participating clients.

Method to create a session.

Notification sent when a session has been created.

Method to indicate a session is finished.

Method to join a session.

Method to load a party number into a session.

Notification sent when all parties have loaded a party signup number into a session.

Method to broadcast or relay a message peer to peer.

Notification sent to clients with broadcast or peer to peer messages.

Method to signup a session.

Notification sent when all expected parties have signed up to a session.