ImpakRetroClientInterceptorCallbacks constructor
ImpakRetroClientInterceptorCallbacks({
- Future<
void> onBeforeRequest(- RequestOptions options,
- RequestInterceptorHandler handler
- Future<
void> onAfterResponse(- Response response,
- ResponseInterceptorHandler handler
- Future<
void> onAfterError(- DioException err,
- ErrorInterceptorHandler handler
Creates hooks; each callback must forward the handler when finished.
Implementation
ImpakRetroClientInterceptorCallbacks({
this.onBeforeRequest,
this.onAfterResponse,
this.onAfterError,
});