generated from tpl/purs
bun | ||
src | ||
.gitignore | ||
.prettierrc.cjs | ||
.tool-versions | ||
bun.lockb | ||
jsconfig.json | ||
package.json | ||
README.md | ||
spago.lock | ||
spago.yaml |
purescript-ezfetch
High-level bindings to the native fetch
API
Effect.Aff.HTTP
The main entry point is Effect.Aff.HTTP.fetch
:
fetch <method> <url> <options>
-
<method>
isEffect.Aff.HTTP.Request.Method
:data Method = GET | PUT | POST | DELETE | PATCH | HEAD
-
<url>
isData.URL.URL
(fromurl-immutable
) -
<options>
is a partial record of:type OptionalFields = ( body :: Body , headers :: Headers , credentials :: Credentials )