Defjs
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
Edit this page on GitHub
Released under the MIT License. · Copyright © 2026 MunMunMiao