Module workflow_rpc::client

source ·
Expand description

RPC client (operates uniformly in native and WASM-browser environments).

Re-exports

  • pub use crate::client::error::Error;
  • pub use crate::client::result::Result;

Modules

Macros

  • notification!() macro for declaration of RPC notification handlers

Structs

  • Borsh RPC message handler and dispatcher
  • ConnectOptions is used to configure the WebSocket 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 WebSocket async fn connect() function should behave during the first-time connectivity phase.

Traits

Type Aliases