Parameters
- sha256: string
- servers: readonly string[]
- fetchImpl: {
(input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
(input: string | URL | Request, init?: RequestInit): Promise<Response>;
} = fetch
-
- (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
-
Parameters
- input: URL | RequestInfo
Optionalinit: RequestInit
Returns Promise<Response>
- (input: string | URL | Request, init?: RequestInit): Promise<Response>
-
Parameters
- input: string | URL | Request
Optionalinit: RequestInit
Returns Promise<Response>
Returns Promise<Uint8Array<ArrayBufferLike>>
The bytes the first responsive server returned.
Fetch an artifact blob by trying each server in turn with a 20-second budget.
Bytes are returned unverified;
resolveNapplethashes them. Gateways are accelerators, never identity.