Skip to main content

Settings for registering an interception handler for the targeted platform operations.

Properties (2)

Property Type Default Required Description
handler⚓︎ (message: InterceptionMessage) => Promise<InterceptionResponse | void> x

Method implementation to be registered as a handler for the specified platform operations. It's possible to register only a single interception handler per platform operation within an API domain.

interceptions⚓︎ Interception[] x

List of objects each describing a platform operation to intercept.