Core
SSEInterceptor
Tagged SSE interceptor for client option lists, accepted by withInterceptors.
@defjs/core · Type
Signature
interface SSEInterceptor { kind: "sse"; fn: SSEInterceptorFn; }
Created by createSSEInterceptor. The kind tag lets withInterceptors
accept HTTP, SSE, and WebSocket interceptors in one list; only kind: 'sse'
interceptors run for SSE operations.
Members
Prop
Type
kind "sse"fn SSEInterceptorFn