Access via:
io.interceptionAPIinterface
Interception API.
io.Connect Desktop 9.62 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. |