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