Module

Fetch

Package
purescript-fetch-api
Repository
iarthstar/purescript-fetch-api

#Fetch Source

class Fetch req res | req -> res where

Members

#genericFetch Source

genericFetch :: forall res req. Decode res => Encode req => String -> Array Option -> req -> Aff (Either Error res)

#defaultFetch Source

defaultFetch :: forall res req. Decode res => Encode req => String -> Method -> req -> Aff (Either Error res)

#defaultFetch' Source

defaultFetch' :: forall res req. Decode res => Encode req => String -> Method -> Array Header -> req -> Aff (Either Error res)