http2-0.0.1: HTTP/2.0 library including HPACK

Safe HaskellNone

Network.HPACK.Table.Entry

Contents

Synopsis

Type

type Size = IntSource

Size in bytes.

type Entry = (Size, Header)Source

Type for table entry. Size includes the 32 bytes magic number.

type Header = (HeaderName, ByteString)

Header

type HeaderName = CI ByteString

Header name

type HeaderValue = ByteStringSource

Header value.

type Index = IntSource

Index for table.

Header and Entry

Getters

entrySize :: Entry -> SizeSource

Getting the size of Entry.

For initialization

dummyEntry :: EntrySource

Dummy Entry to initialize a table.