Module

Fetch.Internal.Request

Package
purescript-fetch
Repository
rowtype-yoga/purescript-fetch

#HighlevelRequestOptions Source

type HighlevelRequestOptions :: Row Type -> Type -> Row Typetype HighlevelRequestOptions headers body = (body :: body, cache :: RequestCache, credentials :: RequestCredentials, duplex :: Duplex, headers :: Record headers, integrity :: Integrity, method :: Method, mode :: RequestMode, referrer :: Referrer, referrerPolicy :: ReferrerPolicy)

#ToCoreRequestOptions Source

class ToCoreRequestOptions :: Row Type -> Row Type -> Constraintclass ToCoreRequestOptions input output | input -> output where

Members

Instances

#ToCoreRequestOptionsHelper Source

class ToCoreRequestOptionsHelper :: forall k. Row Type -> k -> Row Type -> Constraintclass ToCoreRequestOptionsHelper input inputRL output | inputRL -> output where

Members

Instances

#new Source

new :: forall input thru. Union input thru UnsafeRequestOptions => String -> Record input -> Effect Request