Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- data Hyperbole (a :: Type -> Type) b where
- runHyperbole :: forall (es :: [Effect]). Server :> es => Eff (Hyperbole ': es) Response -> Eff es Response
- data HyperState = HyperState {}
Documentation
data Hyperbole (a :: Type -> Type) b where Source #
The Hyperbole
Effect
allows you to access information in the Request
, manually respondEarly
, and manipulate the Client session
and query
.
GetRequest :: forall (a :: Type -> Type). Hyperbole a Request | |
RespondEarly :: forall (a :: Type -> Type) b. Response -> Hyperbole a b | |
ModClient :: forall (a :: Type -> Type). (Client -> Client) -> Hyperbole a () | |
GetClient :: forall (a :: Type -> Type). Hyperbole a Client |
Instances
type DispatchOf Hyperbole Source # | |
Defined in Web.Hyperbole.Effect.Hyperbole |
runHyperbole :: forall (es :: [Effect]). Server :> es => Eff (Hyperbole ': es) Response -> Eff es Response Source #
data HyperState Source #