Skip to content

EncodedRequestUrlRequest

The request in the form the transports take: validated, with the body encoded.

Import:

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

Signature:

export interface EncodedRequestUrlRequest

Properties

PropertyTypeDescription
abortSignalAbortSignalAborts the request.
body?ArrayBuffer | stringThe encoded body.
headersReadonly<Record<string, string>>The request headers, including the content type.
methodstringThe HTTP method, uppercase.
urlstringThe URL.

Links to this page: