2024-06-10 12:20:07 -05:00
2024-06-10 12:16:33 -05:00
2024-06-10 12:16:33 -05:00
2024-04-21 17:17:28 -05:00
2024-04-21 18:00:07 -05:00
2024-06-10 12:16:33 -05:00
2024-06-10 12:20:07 -05:00
2024-06-10 12:16:33 -05:00
2024-06-10 12:16:33 -05:00

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> is Effect.Aff.HTTP.Request.Method:

      data Method
        = GET
        | PUT
        | POST
        | DELETE
        | PATCH
        | HEAD
    
  • <url> is Data.URL.URL (from url-immutable)

  • <options> is a partial record of:

      type OptionalFields =
        ( body :: Body
        , headers :: Headers
        , credentials :: Credentials
        )
    
Description
No description provided
Readme 170 KiB
Languages
PureScript 79%
JavaScript 21%