wai-extra-3.1.17: Provides some basic WAI handlers and middleware.
Safe HaskellNone
LanguageHaskell2010

Network.Wai.Test.Internal

Synopsis

Documentation

newtype ClientState #

Constructors

ClientState 

initState :: ClientState #

Since 3.0.20.0

runSessionWith :: ClientState -> Session a -> Application -> IO (a, ClientState) #

Like runSession, but if allows you to hand in cookies and get the updated cookies back. One use case for this is writing tests that address the application under test alternatingly through rest api and through db handle.

Since 3.0.20.0