future_interceptor library
Classes
Mixins
- RecordExtension
- RecordExtension is used to store an unique data for each request.
Typedefs
- ErrorPrinter = void Function(dynamic error, StackTrace st)
-
FetchMethod<
T> = FutureOr< T> Function() - InterceptorDataCallback = dynamic Function(FutureRequestOptions options, dynamic data)
- InterceptorErrorCallback = FutureException Function(FutureRequestOptions options, FutureException error)
- InterceptorRequestCallback = FutureRequestOptions Function(FutureRequestOptions options)
- InterceptorTransformCallback = FutureResponse Function(FutureResponse response)
- RequestCallback = void Function()
- ResponseCallback = void Function()
Exceptions / Errors
- FutureException
- FutureException describes the exception info when a request failed.