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
| Property | Type | Description | |
|---|---|---|---|
| arrayBuffer | Promise<ArrayBuffer> | The promise that resolves to the body of the response as an ArrayBuffer. | |
| json | Promise<any> | ||
| text | Promise<string> | The promise that resolves to the body of the response as a string. |