Function create_client

Source
pub async fn create_client(
    region: Region,
) -> Result<FallbackClient, Box<dyn Error>>
Expand description

Create a client with automatic Ribbit->TACT fallback and optional caching

If caching is enabled (default), both the Ribbit and TACT clients will transparently cache all requests. The client will try Ribbit first (as it’s the primary protocol) and fall back to TACT on failure.