wai-extra-3.0.15.1: Provides some basic WAI handlers and middleware.

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Test

Contents

Synopsis

Session

type Session = ReaderT Application (StateT ClientState IO)

Client Cookies

setClientCookie :: SetCookie -> Session ()

Since 3.0.6

Requests

defaultRequest :: Request

A default, blank request.

Since 2.0.0

setPath :: Request -> ByteString -> Request

Set whole path (request path + query string).

Assertions