Module

Milkis

#URL

newtype URL

Constructors

Instances

#Fetch

type Fetch = forall options trash. Union options trash Options => URL -> { method :: Method | options } -> Aff Response

#Response

data Response :: Type

#Options

type Options = (method :: Method, body :: String, headers :: Headers, credentials :: Credentials)

#Method

data Method :: Type

#Headers

#defaultFetchOptions

defaultFetchOptions :: { method :: Method }

#getMethod

#postMethod

#putMethod

#deleteMethod

#headMethod

#omitCredentials

#sameOriginCredentials

#includeCredentials

#fetch

#makeHeaders

makeHeaders :: forall r. Homogeneous r String => {  | r } -> Headers

#statusCode

Modules