ElectronHeadersReceivedResponse
Unofficial
Response object returned by an onHeadersReceived web-request listener callback.
Import:
import type { ElectronHeadersReceivedResponse } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ElectronHeadersReceivedResponseProperties
| Property | Type | Description | |
|---|---|---|---|
| cancel? | boolean | Whether to cancel the request. | |
| responseHeaders? | Record<string, string | string[]> | When provided, the server is assumed to have responded with these headers. | |
| statusLine? | string | Should be provided when overriding responseHeaders to change header status otherwise original response header's status will be used. |