Fetch and parse the JSON content from urlOrConnectionInfo, with the optional body json and optionally processing the result with processFun before returning it.
Repeatedly call pollFunc using the PollOptions until it returns a value other than undefined.
The URL to connect to.
The username to use for Basic Authentication. The default is null (i.e. do not use basic authentication)
The password to use for Basic Authentication. The default is null (i.e. do not use basic authentication)
Allow Basic Authentication over non-secure HTTP. The default is false.
How long to wait before rejecting with a timeout error.
Additional headers to include in the connection.
The amount of time allowed to elapse before triggering a timeout error.
The minimum time limit to allow for Exponential Backoff.
The default is 0s.
The maximum time limit to allow for Exponential Backoff.
The default is 10s.
The interval used during Exponential Backoff calculation.
The default is 250ms.
The number of times to retry in the event of an error or undefined is returned.
If this is specified, the polling will wait on new blocks from provider before attempting the pollFunc again.
If this is specified, the polling will occur on each poll cycle of provider before attempting the pollFunc again.