Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
HasVault Req Source # | |
Defined in Network.Wai.Predicate.Request requestVault :: Req -> Vault Source # | |
HasPath Req Source # | |
Defined in Network.Wai.Predicate.Request | |
HasQuery Req Source # | |
Defined in Network.Wai.Predicate.Request queryItems :: Req -> Query Source # | |
HasCookies Req Source # | |
HasHeaders Req Source # | |
Defined in Network.Wai.Predicate.Request headers :: Req -> RequestHeaders Source # | |
HasMethod Req Source # | |
HasRequest Req Source # | |
Defined in Network.Wai.Predicate.Request getRequest :: Req -> Request Source # |
class HasHeaders a where Source #
headers :: a -> RequestHeaders Source #
Instances
HasHeaders Request Source # | |
Defined in Network.Wai.Predicate.Request headers :: Request -> RequestHeaders Source # | |
HasHeaders Req Source # | |
Defined in Network.Wai.Predicate.Request headers :: Req -> RequestHeaders Source # |
class HasCookies a where Source #
Instances
class HasQuery a where Source #
queryItems :: a -> Query Source #
Instances
HasQuery Request Source # | |
Defined in Network.Wai.Predicate.Request queryItems :: Request -> Query Source # | |
HasQuery Req Source # | |
Defined in Network.Wai.Predicate.Request queryItems :: Req -> Query Source # |
class HasRequest a where Source #
getRequest :: a -> Request Source #
Instances
HasRequest Req Source # | |
Defined in Network.Wai.Predicate.Request getRequest :: Req -> Request Source # |
class HasVault a where Source #
requestVault :: a -> Vault Source #
Instances
HasVault Req Source # | |
Defined in Network.Wai.Predicate.Request requestVault :: Req -> Vault Source # |
fromRequest :: Request -> Req Source #
lookupHeader :: HasHeaders r => HeaderName -> r -> [ByteString] Source #
lookupQuery :: HasQuery r => ByteString -> r -> [ByteString] Source #
lookupCookie :: HasCookies r => ByteString -> r -> [ByteString] Source #
lookupSegment :: HasPath r => Word -> r -> Maybe ByteString Source #