FetchOptions
Defined in: src/backends/fetch.ts:36
Configuration options for FetchFS.
Extends
Section titled “Extends”Properties
Section titled “Properties”baseUrl
Section titled “baseUrl”baseUrl:
string
Defined in: src/backends/fetch.ts:51
Used as the URL prefix for fetched files.
caseFold?
Section titled “caseFold?”
optionalcaseFold?:CaseFold
Defined in: src/backends/backend.ts:56
If set, sets case folding for the file system(s).
Inherited from
Section titled “Inherited from”disableAsyncCache?
Section titled “disableAsyncCache?”
optionaldisableAsyncCache?:boolean
Defined in: src/backends/backend.ts:51
If set, disables the sync cache and sync operations on async file systems.
Inherited from
Section titled “Inherited from”SharedConfig.disableAsyncCache
index?
Section titled “index?”
optionalindex?:string|IndexData
Defined in: src/backends/fetch.ts:46
URL to a file index as a JSON file or the file index object itself.
Defaults to index.json.
remoteWrite?
Section titled “remoteWrite?”
optionalremoteWrite?:boolean
Defined in: src/backends/fetch.ts:57
If true, enables writing to the remote (using post and delete)
Default
Section titled “Default”falserequestInit?
Section titled “requestInit?”
optionalrequestInit?:RequestInit
Defined in: src/backends/fetch.ts:40
Options to pass through to fetch calls