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

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Test

Contents

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
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