Skip to content

cross-platform HttpClient #110

@robinheghan

Description

@robinheghan

gren-lang/node and gren-lang/browser have seperate HttpClient API's. Since Node.js supports fetch, it should be possible to write a single HttpClient that can be shared between all supported platforms.

A good first step would be to rewrite the HttpClient in gren-lang/node to be based on fetch with built-in support for Stream.

After that we can figure out how to make it work in the browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions