@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
33 lines (22 loc) • 1.19 kB
Markdown
---
lang: en
title: 'API docs: context.interceptionhandler._constructor_'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.interceptionhandler._constructor_.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [InterceptionHandler](./context.interceptionhandler.md) > [(constructor)](./context.interceptionhandler._constructor_.md)
## InterceptionHandler.(constructor)
Constructs a new instance of the `InterceptionHandler` class
<b>Signature:</b>
```typescript
constructor(context?: Context, session?: ResolutionSession | undefined, source?: InvocationSource<unknown> | undefined);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| context | [Context](./context.context.md) | |
| session | [ResolutionSession](./context.resolutionsession.md) \| undefined | |
| source | [InvocationSource](./context.invocationsource.md)<!-- --><unknown> \| undefined | |