DioInterceptor class
Methods
-
injectCore(AliceCore aliceCore)
→ void
-
Injects AliceCore into adapter.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(DioException error, ErrorInterceptorHandler handler)
→ void
-
Handles error and adds data to alice http call
-
onRequest(RequestOptions options, RequestInterceptorHandler handler)
→ void
-
Called when the request is about to be sent.
-
onResponse(Response response, ResponseInterceptorHandler handler)
→ void
-
Handles dio response and adds data to alice http call
-
toString()
→ String
-
A string representation of this object.
inherited