| Safe Haskell | Safe-Inferred |
|---|
Network.HPACK.Types
- type HeaderName = ByteString
- type HeaderValue = ByteString
- type HeaderStuff = ByteString
- type Header = (HeaderName, HeaderValue)
- type ByteStream = ByteString
- type Index = Int
- data DecodeError
Header
type HeaderName = ByteStringSource
Header name.
type HeaderValue = ByteStringSource
Header value.
type HeaderStuff = ByteStringSource
To be a HeaderName or HeaderValue.
type Header = (HeaderName, HeaderValue)Source
Header.
Misc
type ByteStream = ByteStringSource
Byte stream in HTTP request/response.
data DecodeError Source
Errors for decoder.
Constructors
| IndexOverrun Index | Index is out of range |
| EosInTheMiddle | Eos appears in the middle of string |
| IllegalEos | Non-eos appears in the end of string |
| TooLongEos | Eos is more than 7 bits |
| EmptyEncodedString | Encoded string has no length |
| EmptyBlock | Header block is empty |