lessp / fetch

Fetch libraries/interface for Reason/OCaml
https://lessp.github.io/fetch
MIT License
50 stars 1 forks source link

Make it possible to extend a Fetch-implementation #30

Open lessp opened 4 years ago

lessp commented 4 years ago

One issue I see currently is that there's no way to extend the current Fetch-implementation.

E.g. it'd be nice for consumers to extend with custom functionality:

module Body: {
   ...
   let toJSON = ... => ...
}