newtype Handler a
The type of a HTTP handler.
type Middleware = Handler (Maybe ResponseBody) -> Handler (Maybe ResponseBody)
The type of a middleware.
runMiddleware :: Middleware -> Request -> Response -> Effect Unit
This is for internal. Do not use it.