Skip to main content
Access via:io.interception

Interception API.

io.Connect Desktop 9.6

2 Methods

register()⚓︎

(config: InterceptionRegistrationConfig) => Promise<void>

Registers an interception handler. It's possible to register only a single interception handler per platform operation within an API domain.

Parameters (1)

Name Type Required Description
config⚓︎ InterceptionRegistrationConfig

Object containing the interception handler to register and settings describing the platform operations to intercept.

unregister()⚓︎

(config: InterceptionUnregistrationConfig) => Promise<void>

Unregisters all interception handlers for the specified platform operations.

Parameters (1)

Name Type Required Description
config⚓︎ InterceptionUnregistrationConfig

Object specifying the platform operations which to stop intercepting.