quickapi library
Classes
- CancelToken
- Cancel token for request cancellation
- LoggingInterceptor
- Built-in logging interceptor with improved logging
- QuickApi
- A modern, feature-rich HTTP client for Flutter applications.
- QuickApiBuilder
- Builder pattern for QuickApi configuration
- QuickApiInterceptor
- Interceptor interface with error handling
- RequestContext
- Request context for interceptors
- ResponseContext
- Response context for interceptors
Exceptions / Errors
- AuthenticationError
- Authentication error (401)
- CancelledException
- Exception thrown when request is cancelled
- ClientError
- Client error (4xx)
- InterceptorError
- Interceptor error
- NetworkError
- Network connectivity error
- QuickApiError
- Sealed class for all QuickApi errors (Dart 3 feature)
- RateLimitError
- Rate limit error (429)
- ServerError
- Server error (5xx)
- TimeoutError
- Timeout error
- UnknownError
- Unknown error
- ValidationError
- Validation error (422)