Skip to content

Latest commit

 

History

History

fetch-core

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Fetch

npm version

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.