Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class HasHeaders a where Source
headers :: a -> RequestHeaders Source
queryItems :: a -> Query 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