Module workflow_rpc::client
source · Expand description
RPC client (operates uniformly in native and WASM-browser environments).
Re-exports
Modules
- Client
Error
enum declaration - Convenience module exporting all types required for the client use.
Macros
- notification!() macro for declaration of RPC notification handlers
Structs
- Borsh RPC message handler and dispatcher
ConnectOptions
is used to configure theWebSocket
connectivity behavior.- Collection of server-side notification handlers
- Serde JSON RPC message handler and dispatcher
- Configuration struct for WebSocket client (native Tungstenite connections only) This
WebSocketConfig
is mirrored from Tungstenite, and has no effect when used in the WASM (browser) environment due to lack of control in browser websockets.
Enums
ConnectionStrategy
specifies how the WebSocketasync fn connect()
function should behave during the first-time connectivity phase.