diff --git a/README.md b/README.md index 7f607d0..7c32067 100644 --- a/README.md +++ b/README.md @@ -8,23 +8,36 @@ The main entry point is `Effect.Aff.HTTP.fetch`: fetch ``` -* `` is `Effect.Aff.HTTP.Request.Method`: +
    +
  • - - data Method - = GET - | PUT - | POST - | DELETE - | PATCH - | HEAD +`` is `Effect.Aff.HTTP.Request.Method`: -* `` is `Data.URL.URL` (from [`url-immutable`](https://pursuit.purescript.org/packages/purescript-url-immutable/)) -* `` is a partial record of: +```purescript +data Method + = GET + | PUT + | POST + | DELETE + | PATCH + | HEAD +``` +
  • - - type OptionalFields = - ( body :: Body - , headers :: Headers - , credentials :: Credentials - ) +
  • + +`` is `Data.URL.URL` (from [`url-immutable`](https://pursuit.purescript.org/packages/purescript-url-immutable/)) +
  • +
  • + +`` is a partial record of: + +```purescript +type OptionalFields = + ( body :: Body + , headers :: Headers + , credentials :: Credentials + ) +``` +
  • +