Interface: HttpProviderOptions
Defined in: providers/http.ts:5
The options for httpProvider.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
fetch? | readonly | (input, init?) => Promise<Response> | The fetch function. The default is globalThis.fetch. | providers/http.ts:15 |
headers? | readonly | Readonly<Record<string, string>> | Static headers for each request. | providers/http.ts:9 |
name? | readonly | string | The provider name. The default is 'http'. | providers/http.ts:17 |
pollMs? | readonly | number | The interval between two polls in milliseconds. Without this value, the provider does not poll. | providers/http.ts:11 |
save? | readonly | false | "PUT" | "POST" | The HTTP method for save. Without this value, the provider cannot save. | providers/http.ts:13 |
url | readonly | string | The URL of the configuration document. | providers/http.ts:7 |