Module

Fetch.Core.Request

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

#Request Source

data Request

#RequestOptions Source

type RequestOptions :: Row Typetype RequestOptions = (body :: RequestBody, cache :: RequestCache, credentials :: RequestCredentials, duplex :: Duplex, headers :: Headers, integrity :: Integrity, method :: Method, mode :: RequestMode, referrer :: Referrer, referrerPolicy :: ReferrerPolicy)

#UnsafeRequestOptions Source

type UnsafeRequestOptions :: Row Typetype UnsafeRequestOptions = (body :: RequestBody, cache :: String, credentials :: String, duplex :: String, headers :: Headers, integrity :: String, method :: String, mode :: String, referrer :: String, referrerPolicy :: String)

#_unsafeNew Source

#ToInternal Source

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

Members

Instances

#ToInternalHelper Source

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

Members

Instances

#new Source

new :: forall input output thruIn thruOut. Union input thruIn RequestOptions => Union output thruOut UnsafeRequestOptions => ToInternal input output => String -> Record input -> Effect Request