Options for the fetcher.

Hierarchy

  • FetcherOptions

Properties

Properties

cache?: Pick<Cache, "match" | "put">

The Cache implementation to be used, if any. It can be partial, but must have match and put methods.

cookies?: Record<string, string>

Cookies to be set. Those cookies will be set to the cookie jar at the beginning.

headers?: Record<string, string>

Headers to be set. This will merge with the default headers. If conflict, the default headers will be overwritten.

Generated using TypeDoc