GuardedFetchOptions
Options shared by every helper here.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
fetch? | FetchLike | The fetch to call. Pass the one the host handed the source, so its own egress rules still apply; omit it and the global one is read at call time (not at import time, so a host that installs its own afterwards still wins). |
headers? | Record<string, string> | Extra request headers, merged OVER the defaults rather than replacing them. |
maxBytes? | number | Raise the size cap for a document class that is legitimately larger than an article — a podcast feed carries every episode ever published, and the busiest run past 17 MB against the 10 MB default. |
timeoutMs? | number | Override the per-request ceiling for a host known to be slow. |