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