Skip to main content

Module client

Module client 

Source
Expand description

Sashiko API client: trait, HTTP implementation, error types. Sashiko API client: trait, HTTP implementation, error types.

Provides a type-safe, async interface for accessing Sashiko instances. The SashikoApi trait abstracts the API surface; HttpClient is the production implementation using reqwest.

Re-exports§

pub use api::SashikoApi;
pub use cache::CachingClient;
pub use error::ApiError;
pub use http::HttpClient;
pub use mock::MockClient;
pub use types::ListParams;
pub use types::RetryConfig;
pub use types::ReviewQuery;

Modules§

api
SashikoApi trait: the async interface for Sashiko instance access.
cache
In-memory caching decorator for SashikoApi.
error
API client error types.
http
Production HTTP client for Sashiko API access.
mock
Mock client for unit testing.
types
Query parameter types and retry configuration for API requests.