generated from tpl/purs
docs: readme
This commit is contained in:
parent
79765e3e99
commit
2a15312018
@ -9,6 +9,7 @@ fetch <method> <url> <options>
|
||||
```
|
||||
|
||||
* `<method>` is `Effect.Aff.HTTP.Request.Method`:
|
||||
|
||||
<!-- language: purescript -->
|
||||
data Method
|
||||
= GET
|
||||
@ -17,8 +18,10 @@ 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:
|
||||
|
||||
<!-- language: purescript -->
|
||||
type OptionalFields =
|
||||
( body :: Body
|
||||
|
Loading…
Reference in New Issue
Block a user