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> 

Properties

Property Type Description
global boolean A flag to control if the interceptor should be global. Default to true.