Requests configuration

requests.yml configuration reference

Configuration root

Name

Type

Description

timeout

string

Go-style duration for HTTP requests. Valid time units are ns (nanoseconds), us (or µs, microseconds), ms (milliseconds), s (seconds), m (minutes), h (hours)

secret_key

string

Base64 encoded key for on-chain secrets

filter

Describes which host are allowed or disallowed to be called. All of private and local IPs are always blocked

Filter object

Name

Type

Description

mode

string

Changes mode of the filter. Either whitelist or blacklist

domains

array of string

Contains list of domains. When mode is whitelist, only requests to these domains will be executed, when mode is blacklist, requests to these domains will be ignored

Last updated