FittorInterceptor class abstract
Base class for all Fittor interceptors
Interceptors can modify requests before they are sent, modify responses before they are returned to the caller, or handle errors that occur during request processing.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
dynamic error, StackTrace stackTrace) → Future - Called when an error occurs during request processing
-
onRequest(
FittorRequest request) → Future< FittorRequest> - Called before a request is sent
-
onResponse(
FittorResponse response) → Future< FittorResponse> - Called after a successful response is received
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited