hyperbole-0.3.5: Interactive HTML apps using type-safe serverside Haskell
Safe HaskellSafe-Inferred
LanguageGHC2021

Web.Hyperbole.Session

Synopsis

Documentation

newtype Session Source #

Constructors

Session (Map Text Text) 

Instances

Instances details
Show Session Source # 
Instance details

Defined in Web.Hyperbole.Session

sessionSet :: ToHttpApiData a => Text -> a -> Session -> Session Source #

Set the session key to value

sessionRender :: Session -> ByteString Source #

Render a session as a url-encoded query string

sessionParse :: ByteString -> Session Source #

Parse a session as a url-encoded query string