docs: readme

This commit is contained in:
orion 2024-06-10 12:18:27 -05:00
parent 0b247ceca1
commit 79765e3e99
Signed by: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -8,7 +8,7 @@ The main entry point is `Effect.Aff.HTTP.fetch`:
fetch <method> <url> <options>
```
* `<method>` is `Effect.Aff.HTTP.Request.Method`:
* `<method>` is `Effect.Aff.HTTP.Request.Method`:
<!-- language: purescript -->
data Method
= GET
@ -17,8 +17,8 @@ fetch <method> <url> <options>
| DELETE
| PATCH
| HEAD
* `<url>` is `Data.URL.URL` (from [`url-immutable`](https://pursuit.purescript.org/packages/purescript-url-immutable/))
* `<options>` is a partial record of:
* `<url>` is `Data.URL.URL` (from [`url-immutable`](https://pursuit.purescript.org/packages/purescript-url-immutable/))
* `<options>` is a partial record of:
<!-- language: purescript -->
type OptionalFields =
( body :: Body