fetch-core
v0.1.0-alpha.5
Published
A fetch interface/functor for ReasonML/OCaml
Downloads
24
Readme
Fetch
A fetch interface/functor for ReasonML/OCaml.
Description
A fetch interface and implementation based on the Fetch-specification from Whatwg. That said, it makes conscious trade-offs and decisions to fit the Reason/OCaml-ecosystem. It also takes inspiration and attempts to follow community-idioms and best practices with regards to HTTP-clients.
The goal is to be pluggable with any HTTP or Promise-implementation provided it conforms to the common interface.
See fetch-native-lwt
for an example-implementation.
Credits
The implementation is largely inspired from @aantron's efforts in "Promisifying" luv.