Skip to content

Intercept

InterceptSDK

InterceptSDK = object

Utilities to interact with the Intercept page.

Properties

addRequestViewMode()

addRequestViewMode: (options: RequestViewModeOptions) => void

Add a custom request view mode.

Parameters
ParameterTypeDescription
optionsRequestViewModeOptionsThe 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
ParameterType
idID | undefined
Returns

void