core/api/interceptors library
Classes
- InterceptedRequest
- Result of RequestInterceptor.onRequest. Use to override request parts.
- RequestInterceptor
-
Intercepts a request before it is sent.
Return modified
headersanddata(or null to keep original). - ResponseInterceptor
- Intercepts a response after it is received. Return modified CustomApiResponse or null to keep original.