This repository was archived by the owner on Mar 10, 2020. It is now read-only.
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
Allow providing function used to perform fetch #932
Closed
Description
From what I can tell right now implementation chooses between http / https modules to do network request. In browser case however it would be very useful to allow passing custom fetch
that would perform it in the origin that has permission to talk to daemon.
However it's not as simple as just adding config.fetch
as implementation assumes node (polyfill) which complicates things.