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

Network.Wai.Test

Synopsis

Session

Client Cookies

Requests

srequest :: SRequest -> Session SResponse Source #

Similar to request, but allows setting the request body as a plain ByteString.

data SRequest Source #

Constructors

SRequest 

Fields

data SResponse Source #

Instances

Instances details
Eq SResponse Source # 
Instance details

Defined in Network.Wai.Test

Show SResponse Source # 
Instance details

Defined in Network.Wai.Test

defaultRequest :: Request #

A default, blank request.

Since 2.0.0

setPath :: Request -> ByteString -> Request Source #

Set whole path (request path + query string).

Assertions