Core
HttpInterceptor
Tagged HTTP interceptor accepted by client interceptor options.
@defjs/core · Type
Signature
interface HttpInterceptor { kind: "http"; fn: InterceptorFn; }
Created by createHttpInterceptor. kind is the discriminant that lets
withInterceptors accept HTTP, SSE, and WebSocket interceptors in one list.
Members
Prop
Type
kind "http"fn InterceptorFn