Skip to content

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 ObsidianIpcRequestUrlParams

Properties

PropertyTypeDescription
body?ArrayBuffer | stringThe request body. Any other type is not sent.
contentType?stringThe Content-Type header.
headers?Record<string, string>Additional request headers. A header Electron refuses to set is logged and skipped.
method?stringThe HTTP method. Electron defaults to GET.
urlstringThe URL to request.