Module

Oak.Cmd.Http

Package
purescript-oak
Repository
ehrenmurdick/purescript-oak

#HTTP Source

data HTTP :: Command

#decodeOptions Source

#defaultDecode Source

defaultDecode :: forall rep a. Generic a rep => GenericDecode rep => Foreign -> F a

#makeDecoder Source

makeDecoder :: forall t a. Generic a t => GenericDecode t => Decode a => String -> Either String a

#getImpl Source

getImpl :: forall a m c. Fn4 (String -> Either String a) (a -> Either String a) String (Either String a -> m) (Cmd (http :: HTTP | c) m)

#get Source

get :: forall t a m c. Generic a t => GenericDecode t => Decode a => String -> (Either String a -> m) -> Cmd (http :: HTTP | c) m