انتقل إلى المحتوى الرئيسي

Interface: SystemFetcherOptions

Defined in: packages/federation-verify/src/fetcher.ts:127

Options of systemFetcher.

Properties​

fetch?​

readonly optional fetch?: (input, init?) => Promise<Response>

Defined in: packages/federation-verify/src/fetcher.ts:129

The fetch to use; the global one by default. Injected by tests and callers with a proxy.

Parameters​

input​

string | URL | Request

init?​

RequestInit

Returns​

Promise<Response>


maxBytes?​

readonly optional maxBytes?: number

Defined in: packages/federation-verify/src/fetcher.ts:132

The largest body read; MAX_DOCUMENT_BYTES by default.


timeoutMs?​

readonly optional timeoutMs?: number

Defined in: packages/federation-verify/src/fetcher.ts:130