Expand description
RPC client (operates uniformly in native and WASM-browser environments).
Re-exports§
Modules§
- error
- Client
Error
enum declaration - prelude
- Convenience module exporting all types required for the client use.
- result
- Client
Result
enum encapsulating clientError
Macros§
- notification
- notification!() macro for declaration of RPC notification handlers
Structs§
- Borsh
Protocol - Borsh RPC message handler and dispatcher
- Connect
Options ConnectOptions
is used to configure theWebSocket
connectivity behavior.- Interface
- Collection of server-side notification handlers
- Json
Protocol - Serde JSON RPC message handler and dispatcher
- Notification
- Options
- RpcClient
- WebSocket
Config - Configuration struct for WebSocket client (native Tungstenite and NodeJs connections only)
Enums§
- Connect
Strategy ConnectionStrategy
specifies how the WebSocketasync fn connect()
function should behave during the first-time connectivity phase. @category WebSocket- Ctl