Skip to content

RequestUrlResponsePromise

Official

The promise of the requestUrl function.

Import:

import type { RequestUrlResponsePromise } from 'obsidian';

Signature:

export interface RequestUrlResponsePromise extends Promise<RequestUrlResponse>

Extends: Promise<RequestUrlResponse>

Properties

PropertyTypeDescription
arrayBufferPromise<ArrayBuffer>The promise that resolves to the body of the response as an ArrayBuffer.
jsonPromise<any>
textPromise<string>The promise that resolves to the body of the response as a string.