Number of registered request interceptors.
Number of registered response interceptors.
Number of registered error interceptors.
Register a request interceptor.
Interceptor function
Registration options (id, priority, once, condition)
The interceptor ID (auto-generated or from opts.id)
Register a response interceptor.
Interceptor function
Registration options (id, priority, once, condition)
The interceptor ID (auto-generated or from opts.id)
Register an error interceptor.
Interceptor function
Registration options (id, priority, once, condition)
The interceptor ID (auto-generated or from opts.id)
Register both request and response interceptors together.
ID of the registered request interceptor, or null
ID of the registered response interceptor, or null
Eject (remove) an interceptor by ID.
The interceptor ID returned from registration
true if an interceptor was found and removed
Remove all registered interceptors.
Check if an interceptor with the given ID is registered.
Execute the full interceptor pipeline for a single request.
Initial request to send
The function that performs the actual HTTP fetch
The final response after all interceptors have run
Internal: run (or re-run on retry) the full pipeline.
Manages registration, ejection, and pipeline execution of interceptors.
Interceptors are executed in priority order (lowest first) through three phases: request (outbound), response (inbound), and error (recovery).