Skip to main content

Module client

Module client 

Source
Expand description

Client implementation for the Composio API HTTP client for Composio API

This module provides the main HTTP client for interacting with the Composio API. It uses the builder pattern for flexible configuration and includes automatic retry logic for transient failures.

§Example

use composio_sdk::client::ComposioClient;
use std::time::Duration;

let client = ComposioClient::builder()
    .api_key("your_api_key")
    .timeout(Duration::from_secs(60))
    .max_retries(5)
    .build()?;

Structs§

ComposioClient
Main client for interacting with Composio API
ComposioClientBuilder
Builder for ComposioClient