http2-0.1.0: HTTP/2.0 library including HPACK

Safe HaskellSafe-Inferred

Network.HPACK.Types

Contents

Synopsis

Header

type HeaderName = ByteStringSource

Header name.

type HeaderValue = ByteStringSource

Header value.

Misc

type ByteStream = ByteStringSource

Byte stream in HTTP request/response.

type Index = IntSource

Index for table.

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