Module

Makkori

#App

data App :: Type

#Middleware

#Request

data Request :: Type

#Response

data Response :: Type

#makeHandler

#Path

newtype Path

Constructors

Instances

#Port

newtype Port

Constructors

Instances

#makeApp

#Method

data Method :: Type

#getMethod

#putMethod

#postMethod

#deleteMethod

#registerMethod

#get

#post

#put

#delete

#StaticOptions

type StaticOptions = ()

#makeStaticMiddleware

makeStaticMiddleware :: forall options trash. Union options trash StaticOptions => Path -> Record options -> Effect Middleware

#JSONOptions

type JSONOptions = ()

#makeJSONMiddleware

makeJSONMiddleware :: forall options trash. Union options trash JSONOptions => Record options -> Effect Middleware

#use

#listen

#sendResponse

#setHeader

#setStatus

#_makeApp

#_makeStaticMiddleware

_makeStaticMiddleware :: forall options. EffectFn2 Path options Middleware

#_makeJSONMiddleware

_makeJSONMiddleware :: forall options. EffectFn1 options Middleware

Modules