Skip to main content

Module client

Module client 

Source
Expand description

Client configuration and construction.

Structs§

Client
Threads API client. Thread-safe; wrap in Arc<Client> to share across tasks.
Config
Configuration for the Threads API client.
MemoryTokenStorage
In-memory token storage (default).
TokenInfo
Information about the current access token.

Constants§

VALID_SCOPES
Valid OAuth scopes for the Threads API.

Traits§

TokenStorage
Trait for persistent token storage.