Skip to content

ElectronResponse

Unofficial

Response object returned by an onBeforeRequest web-request listener callback.

Import:

import type { ElectronResponse } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronResponse

Properties

Property Type Description
cancel? boolean Whether to cancel the request.
redirectURL? string The original request is prevented from being sent or completed and is instead redirected to the given URL.