Defjs
Core

Interceptor

Any tagged interceptor accepted by client interceptor options.

@defjs/core · Type

Signature

type Interceptor =
  HttpInterceptor | SSEInterceptor | WebSocketInterceptor;

kind ('http', 'sse', or 'web-socket') selects which operations an interceptor runs for. withInterceptors accepts any mix; each transport runs only its own kind, in registration order.

Edit this page on GitHub
Released under the MIT License. · Copyright © 2026 MunMunMiao