Module
Yoga.Fastify.Route.HandleResponse
- Package
- purescript-yoga-fastify
- Repository
- rowtype-yoga/purescript-yoga-fastify
#HandleResponse Source
class HandleResponse :: Row Type -> Constraintclass HandleResponse (respVariant :: Row Type) where
Members
handleResponse :: Proxy respVariant -> Variant respVariant -> FastifyReply -> Aff Unit
Instances
(RowToList respVariant rl, HandleResponseRL rl respVariant) => HandleResponse respVariant
#HandleResponseRL Source
class HandleResponseRL :: RowList Type -> Row Type -> Constraintclass HandleResponseRL (rl :: RowList Type) (respVariant :: Row Type) | rl -> respVariant where
Members
handleResponseRL :: Proxy rl -> Variant respVariant -> FastifyReply -> Aff Unit
Instances
HandleResponseRL Nil ()(IsSymbol label, StatusCodeMap label, SetHeaders headers, WriteForeign body, HandleResponseRL tail rest, Cons label (Response headers body) rest respVariant, Lacks label rest) => HandleResponseRL (Cons label (Response headers body) tail) respVariant
- Modules
- Yoga.
Fastify. Auth. Argon2 - Yoga.
Fastify. Auth. JWT - Yoga.
Fastify. Fastify - Yoga.
Fastify. Plugin - Yoga.
Fastify. Plugin. Cors - Yoga.
Fastify. Plugin. Helmet - Yoga.
Fastify. Plugin. RateLimit - Yoga.
Fastify. Plugin. WebSocket - Yoga.
Fastify. Route. HandleResponse - Yoga.
Fastify. Route. HandleRoute - Yoga.
Fastify. Route. ParseBody - Yoga.
Fastify. Route. ParseHeaders - Yoga.
Fastify. Route. ParsePathParams - Yoga.
Fastify. Route. ParseQueryParams - Yoga.
Fastify. Route. SetHeaders