Skip to content
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
@Gozala

Description

@Gozala

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions