Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ResponseMatcher Source #
Instances
Num ResponseMatcher Source # | |
Defined in Test.Hspec.Wai.Matcher (+) :: ResponseMatcher -> ResponseMatcher -> ResponseMatcher # (-) :: ResponseMatcher -> ResponseMatcher -> ResponseMatcher # (*) :: ResponseMatcher -> ResponseMatcher -> ResponseMatcher # negate :: ResponseMatcher -> ResponseMatcher # abs :: ResponseMatcher -> ResponseMatcher # signum :: ResponseMatcher -> ResponseMatcher # fromInteger :: Integer -> ResponseMatcher # | |
IsString ResponseMatcher Source # | |
Defined in Test.Hspec.Wai.Matcher fromString :: String -> ResponseMatcher # |
data MatchHeader Source #
MatchHeader ([Header] -> Body -> Maybe String) |
Instances
IsString MatchBody Source # | |
Defined in Test.Hspec.Wai.Matcher fromString :: String -> MatchBody # |
type Body = ByteString Source #
(<:>) :: HeaderName -> ByteString -> MatchHeader Source #
bodyEquals :: Body -> MatchBody Source #
formatHeader :: Header -> String Source #