Module
Yoga.Fastify.Route.ParseCookies
- Package
- purescript-yoga-fastify
- Repository
- rowtype-yoga/purescript-yoga-fastify
#CookieError Source
#ParseCookies Source
class ParseCookies :: Row Type -> Constraintclass ParseCookies (cookies :: Row Type) where
Members
parseCookies :: Proxy cookies -> Object String -> Either (NonEmptyArray CookieError) (Record cookies)
Instances
(RowToList cookies rl, ParseCookiesRL rl cookies) => ParseCookies cookies
#ParseCookiesRL Source
class ParseCookiesRL :: RowList Type -> Row Type -> Constraintclass ParseCookiesRL (rl :: RowList Type) (cookies :: Row Type) | rl -> cookies where
Members
parseCookiesRL :: Proxy rl -> Object String -> Either (NonEmptyArray CookieError) (Record cookies)
Instances
ParseCookiesRL Nil ()(IsSymbol name, HeaderValue ty, ParseCookiesRL tail tailRow, Cons name (Maybe ty) tailRow cookies, Lacks name tailRow) => ParseCookiesRL (Cons name (Maybe ty) tail) cookies(IsSymbol name, HeaderValue ty, ParseCookiesRL tail tailRow, Cons name ty tailRow cookies, Lacks name tailRow) => ParseCookiesRL (Cons name ty tail) cookies
- 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. ParseCookies - Yoga.
Fastify. Route. ParseHeaders - Yoga.
Fastify. Route. ParsePathParams - Yoga.
Fastify. Route. ParseQueryParams - Yoga.
Fastify. Route. SetHeaders