Page Contents

Home > @loopback/express > MiddlewareInterceptorBindingOptions

MiddlewareInterceptorBindingOptions interface

Options to bind a middleware as an interceptor to the context

Signature:

export interface MiddlewareInterceptorBindingOptions extends BaseMiddlewareBindingOptions<InvocationContext> 

Extends: BaseMiddlewareBindingOptions<InvocationContext>

Properties

Property Modifiers Type Description
global?   boolean (Optional) A flag to control if the interceptor should be global. Default to true.