{-# LANGUAGE CPP #-}
module Network.HPACK (
encodeHeader
, decodeHeader
, encodeTokenHeader
, decodeTokenHeader
, DynamicTable
, defaultDynamicTableSize
, newDynamicTableForEncoding
, newDynamicTableForDecoding
, clearDynamicTable
, withDynamicTableForEncoding
, withDynamicTableForDecoding
, setLimitForEncoding
, CompressionAlgo(..)
, EncodeStrategy(..)
, defaultEncodeStrategy
, DecodeError(..)
, BufferOverrun(..)
, HeaderList
, Header
, HeaderName
, HeaderValue
, TokenHeaderList
, TokenHeader
, ValueTable
, getHeaderValue
, toHeaderTable
, Size
, Index
, Buffer
, BufferSize
) where
#if __GLASGOW_HASKELL__ < 709
import Control.Applicative ((<$>))
#endif
import Network.HPACK.HeaderBlock
import Network.HPACK.Table
import Network.HPACK.Types
defaultDynamicTableSize :: Int
defaultDynamicTableSize = 4096