Skip to content

ElectronBeforeSendResponse

Unofficial

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

Import:

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

Signature:

export interface ElectronBeforeSendResponse

Properties

PropertyTypeDescription
cancel?booleanWhether to cancel the request.
requestHeaders?Record<string, string | string[]>When provided, request will be made with these headers.