Intercept
InterceptMessageId
InterceptMessageId =
string&object
A unique intercept message identifier.
Type Declaration
__interceptMessageId?
optional__interceptMessageId:never
InterceptPageContext
InterceptPageContext =
object
Intercept page context.
Properties
kind
kind:
"Intercept"
requestSelection
requestSelection:
Selection<InterceptMessageId>
responseSelection
responseSelection:
Selection<InterceptMessageId>
websocketSelection
websocketSelection:
Selection<InterceptMessageId>
InterceptSDK
InterceptSDK =
object
Utilities to interact with the Intercept page.
Properties
addRequestViewMode()
addRequestViewMode: (
options:RequestViewModeOptions) =>void
Add a custom request view mode.
Parameters
| Parameter | Type | Description |
|---|---|---|
options | RequestViewModeOptions | The view mode options. |
Returns
void
getScopeId()
getScopeId: () =>
ID|undefined
Get the current scope ID.
Returns
ID | undefined
The current scope ID.
setScope()
setScope: (
id:ID|undefined) =>void
Set the current scope.
Parameters
| Parameter | Type |
|---|---|
id | ID | undefined |
Returns
void
