Safe Haskell | None |
---|
Documentation
module Data.Predicate
request :: HasRequest r => Predicate r f RequestSource
query :: (HasQuery r, FromByteString a) => ByteString -> Predicate r Error aSource
header :: (HasHeaders r, FromByteString a) => HeaderName -> Predicate r Error aSource
hasHeader :: HasHeaders r => HeaderName -> Predicate r Error ()Source
cookie :: (HasCookies r, FromByteString a) => ByteString -> Predicate r Error aSource
hasCookie :: HasCookies r => ByteString -> Predicate r Error ()Source
accept :: HasHeaders r => ByteString -> ByteString -> Predicate r Error (Media (t :: Symbol) (s :: Symbol))Source
contentType :: HasHeaders r => ByteString -> ByteString -> Predicate r Error (Media (t :: Symbol) (s :: Symbol))Source
module Network.Wai.Predicate.Error