hyperbole-0.4.2: Interactive HTML apps using type-safe serverside Haskell
Safe HaskellNone
LanguageGHC2021

Web.Hyperbole.Effect.Request

Synopsis

Documentation

request :: forall (es :: [Effect]). Hyperbole :> es => Eff es Request Source #

Return all information about the Request

reqPath :: forall (es :: [Effect]). Hyperbole :> es => Eff es [Segment] Source #

Return the request path

>>> reqPath
["users", "100"]

formBody :: forall (es :: [Effect]). Hyperbole :> es => Eff es Form Source #

Return the request body as a Web.FormUrlEncoded.Form

Prefer using Type-Safe Forms when possible