requestUrlEx
Requests a URL through requestUrl, with an abort signal, a timeout, richer bodies, a protocol check and a RequestUrlError for an HTTP error status.
Import:
import { requestUrlEx } from '@mnaoumov/obsidian-lib/request-url';Signature:
function requestUrlEx(params: RequestUrlExParams): Promise<RequestUrlResponse>Parameters:
| Parameter | Type | Description |
|---|---|---|
params |
RequestUrlExParams | The request. |
Returns: Promise<RequestUrlResponse> — The response.
Links to this page: