Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- (.#) :: FromText a => ResponseHeaders -> HeaderName -> Either String a
- (.#?) :: FromText a => ResponseHeaders -> HeaderName -> Either String (Maybe a)
- (=#) :: ToHeader a => HeaderName -> a -> [Header]
- hdr :: HeaderName -> ByteString -> [Header] -> [Header]
- class ToHeaders a where
- class ToHeader a where
- toHeader :: HeaderName -> a -> [Header]
- hHost :: HeaderName
- hAMZToken :: HeaderName
- hAMZTarget :: HeaderName
- hAMZAlgorithm :: HeaderName
- hAMZCredential :: HeaderName
- hAMZExpires :: HeaderName
- hAMZSignedHeaders :: HeaderName
- hAMZContentSHA256 :: HeaderName
- hAMZDate :: HeaderName
- hMetaPrefix :: HeaderName
- hAMZRequestId :: HeaderName
- hAMZNRequestId :: HeaderName
- hAMZNErrorType :: HeaderName
- hAMZNAuth :: HeaderName
- hAMZDecodedContentLength :: HeaderName
- hTransferEncoding :: HeaderName
- hFormEncoded :: ByteString
- type HeaderName = CI ByteString
- type Header = (HeaderName, ByteString)
- hContentType :: HeaderName
Documentation
(.#) :: FromText a => ResponseHeaders -> HeaderName -> Either String a infixl 7 Source
(.#?) :: FromText a => ResponseHeaders -> HeaderName -> Either String (Maybe a) infixl 7 Source
(=#) :: ToHeader a => HeaderName -> a -> [Header] infixr 7 Source
hdr :: HeaderName -> ByteString -> [Header] -> [Header] Source
Nothing
toHeader :: HeaderName -> a -> [Header] Source
type HeaderName = CI ByteString
Header name
type Header = (HeaderName, ByteString)
Header
HTTP Header names