request-f
Fantasy Land Future compatible request library based on request, fluture and sancturay.
Methods
Every methods have next signature.
<methodName> :: String s -> Future a s<methodName> :: RequestOptions o -> Future a o
List of RequestOptions see here
Examples
Simple example
const requestF = ; requestF ; // -> Right({ body: '...', statusCode: '...', headers: { ... } })
Using with Sanctuary
const create env = ;const env: flutureEnv = ; const S = ; const getBody = S; requestF ; // -> Right('<body value>')
Learn more about integration fluture with sanctuary
MIT License