Skip to content

Interface: Interceptor

Defined in: packages/core/src/interceptors/interceptor.interface.ts:8

Interface for request interceptors

Methods

intercept()

ts
intercept(context): boolean | void | Promise<boolean | void>;

Defined in: packages/core/src/interceptors/interceptor.interface.ts:13

Method to intercept incoming requests

Parameters

ParameterTypeDescription
contextanyThe request context

Returns

boolean | void | Promise<boolean | void>

Released under the MIT License.