implementations/_all library
Classes
- AuthHandler
- Handles JWT authentication, token storage, and automatic token refresh.
- CacheHandler
- A class for managing cached data to optimize API request handling.
- ExceptionHandler
- Handles exceptions thrown by Dio during API calls. Converts DioException into custom BaseException types.
- RefreshTokenInterceptor
- A Dio interceptor that handles automatic JWT token refresh.
- RequestDeduplicationInterceptor
- A Dio interceptor that deduplicates identical concurrent requests.
- RestApiClient
- An abstract class representing a REST API client.
- RestApiClientImpl
- Implementation of the RestApiClient interface using the Dio HTTP client.
- RetryInterceptor
- A Dio interceptor that automatically retries failed requests with exponential backoff.