Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data ResponseMatcher Source #
Instances
IsString ResponseMatcher Source # | |
Defined in Test.Hspec.Wai.Matcher fromString :: String -> ResponseMatcher # | |
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 # |
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 #
bodyContains :: Body -> MatchBody Source #
formatHeader :: Header -> String Source #