ObsidianIpcRequestUrlParams
Unofficial
The request Obsidian’s request-url IPC channel sends through Electron’s net module, following redirects.
Import:
import type { ObsidianIpcRequestUrlParams } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface ObsidianIpcRequestUrlParamsProperties
| Property | Type | Description | |
|---|---|---|---|
| body? | ArrayBuffer | string | The request body. Any other type is not sent. | |
| contentType? | string | The Content-Type header. | |
| headers? | Record<string, string> | Additional request headers. A header Electron refuses to set is logged and skipped. | |
| method? | string | The HTTP method. Electron defaults to GET. | |
| url | string | The URL to request. |