Module rpc

Source
Expand description

§RPC client implementation for connecting to Spark Operators

This module provides the RPC client implementation used to establish secure connections to Spark Operators. It serves as the communication layer between the Spark Wallet SDK and Spark Operators.

§Features

The RPC module handles:

  • Connection management and pooling
  • Service client creation for different Spark services
  • TLS configuration with proper certificate verification
  • Secure channel establishment to Spark operators

§Architecture

The module is organized into:

  • [SparkRpcClient] - The main client wrapper that manages connections
  • connections - Implementation details for establishing secure connections
  • traits - Interface definitions for RPC connection behavior

§Usage

The RPC clients are used internally by the SDK to communicate with Spark Operators. End users typically don’t need to interact with these types directly.