Skip to content

CreateRequestUrlFetchOptions

Options for createRequestUrlFetch.

Import:

import type { CreateRequestUrlFetchOptions } from '@mnaoumov/obsidian-lib/request-url';

Signature:

export interface CreateRequestUrlFetchOptions

Properties

PropertyTypeDescription
shouldStream?booleanWhether to stream the response body through requestUrlStream rather than buffer it. Streaming is real on desktop only; on mobile the body still arrives as one chunk. Defaults to false.
timeoutInMilliseconds?numberThe timeout in milliseconds applied to every request, on top of the request's own signal.

Links to this page: