Module

Effect.Aff.HTTP

Package
purescript-ezfetch
Repository
cakekindel/purescript-ezfetch

#fetch Source

fetch :: forall x xm m o. MonadAff m => Nub o OptionalFields => Union x OptionalFields o => Union x xm OptionalFields => Method -> URL -> Record x -> m Response

#fetchWithDefaults Source

#OptionalFields Source

type OptionalFields :: Row Typetype OptionalFields = (body :: Body, credentials :: Credentials, headers :: Headers)

Re-exports from Effect.Aff.HTTP.Header

#headers Source

headers :: forall a. IntoHeaders a => a -> Effect Headers

Re-exports from Effect.Aff.HTTP.Request