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