Module
Yoga.Fastify.Route.SetHeaders
- Package
- purescript-yoga-fastify
- Repository
- rowtype-yoga/purescript-yoga-fastify
#SetHeaders Source
class SetHeaders :: Row Type -> Constraintclass SetHeaders (headers :: Row Type) where
Members
setHeaders :: Record headers -> FastifyReply -> Effect FastifyReply
Instances
(RowToList headers rl, SetHeadersRL rl headers) => SetHeaders headers
#SetHeadersRL Source
class SetHeadersRL :: RowList Type -> Row Type -> Constraintclass SetHeadersRL (rl :: RowList Type) (headers :: Row Type) | rl -> headers where
Members
setHeadersRL :: Proxy rl -> Record headers -> FastifyReply -> Effect FastifyReply
Instances
SetHeadersRL Nil ()(IsSymbol name, SetHeadersRL tail tailRow, Cons name String tailRow headers, Lacks name tailRow) => SetHeadersRL (Cons name String tail) headers
- 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