Module workflow_rpc::client
source · Expand description
RPC client (operates uniformly in native and WASM-browser environments).
Re-exports
Modules
- Client
Errorenum 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
ConnectOptionsis used to configure theWebSocketconnectivity behavior.- Collection of server-side notification handlers
- Serde JSON RPC message handler and dispatcher
- Configuration struct for WebSocket client (native Tungstenite connections only) This
WebSocketConfigis mirrored from Tungstenite, and has no effect when used in the WASM (browser) environment due to lack of control in browser websockets.
Enums
ConnectionStrategyspecifies how the WebSockeetasync fn connect()function should behave during the first-time connectivity phase.