Page Contents

Home > @loopback/context > InterceptionHandler > (constructor)

InterceptionHandler.(constructor)

Constructs a new instance of the InterceptionHandler class

Signature:

constructor(context?: Context, session?: ResolutionSession | undefined, source?: InvocationSource<unknown> | undefined);

Parameters

Parameter Type Description
context [Context](/doc/en/lb4/apidocs.context.context.html) _(Optional)_
session [ResolutionSession](/doc/en/lb4/apidocs.context.resolutionsession.html) \| undefined _(Optional)_
source [InvocationSource](/doc/en/lb4/apidocs.context.invocationsource.html)<unknown> \| undefined _(Optional)_