Skip to content

ElectronBeforeSendResponse

Unofficial

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

Import:

import type { ElectronBeforeSendResponse } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronBeforeSendResponse

Properties

Property Type Description
cancel? boolean Whether to cancel the request.
requestHeaders? Record<string, string | string[]> When provided, request will be made with these headers.