Skip to content

Interface: HttpProviderOptions ​

Defined in: providers/http.ts:5

The options for httpProvider.

Properties ​

PropertyModifierTypeDescriptionDefined in
fetch?readonly(input, init?) => Promise<Response>The fetch function. The default is globalThis.fetch.providers/http.ts:15
headers?readonlyReadonly<Record<string, string>>Static headers for each request.providers/http.ts:9
name?readonlystringThe provider name. The default is 'http'.providers/http.ts:17
pollMs?readonlynumberThe interval between two polls in milliseconds. Without this value, the provider does not poll.providers/http.ts:11
save?readonlyfalse | "PUT" | "POST"The HTTP method for save. Without this value, the provider cannot save.providers/http.ts:13
urlreadonlystringThe URL of the configuration document.providers/http.ts:7