Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. TooLargeHeader :: DecodeError

    http2 Network.HPACK

    No documentation available.

  2. decodeHeader :: DynamicTable -> ByteString -> IO [Header]

    http2 Network.HPACK

    Converting the HPACK format to '[Header]'.

    • Headers are decoded as is.
    • DecodeError would be thrown if the HPACK format is broken.
    • BufferOverrun will be thrown if the temporary buffer for Huffman decoding is too small.

  3. decodeTokenHeader :: DynamicTable -> ByteString -> IO TokenHeaderTable

    http2 Network.HPACK

    Converting the HPACK format to TokenHeaderList and ValueTable.

    • Multiple values of Cookie: are concatenated.
    • If a pseudo header appears multiple times, IllegalHeaderName is thrown.
    • If unknown pseudo headers appear, IllegalHeaderName is thrown.
    • If pseudo headers are found after normal headers, IllegalHeaderName is thrown.
    • If a header key contains capital letters, IllegalHeaderName is thrown.
    • DecodeError would be thrown if the HPACK format is broken.
    • BufferOverrun will be thrown if the temporary buffer for Huffman decoding is too small.

  4. encodeHeader :: EncodeStrategy -> Size -> DynamicTable -> [Header] -> IO ByteString

    http2 Network.HPACK

    Converting '[Header]' to the HPACK format. This function has overhead of allocating/freeing a temporary buffer. BufferOverrun will be thrown if the temporary buffer is too small.

  5. encodeTokenHeader :: Buffer -> BufferSize -> EncodeStrategy -> Bool -> DynamicTable -> TokenHeaderList -> IO (TokenHeaderList, Int)

    http2 Network.HPACK

    Converting TokenHeaderList to the HPACK format directly in the buffer. When calling this function for a new TokenHeaderList, 4th argument must be True. The return value is a pair of leftover TokenHeaderList and how many bytes are filled in the buffer. If the leftover is empty, the encoding is finished. Otherwise, this function should be called with it again. 4th argument must be False. 4th argument is relating to dynamic table size update. If True and the limit is set by setLimitForEncoding, dynamic table size update is generated at the beginning of the HPACK format.

  6. getHeaderValue :: Token -> ValueTable -> Maybe FieldValue

    http2 Network.HPACK

    Accessing FieldValue with Token.

  7. toTokenHeaderTable :: [Header] -> IO TokenHeaderTable

    http2 Network.HPACK

    Converting a header list of the http-types style to TokenHeaderList and ValueTable.

  8. entryHeaderName :: Entry -> HeaderName

    http2 Network.HPACK.Internal

    Getting HeaderName.

  9. entryTokenHeader :: Entry -> TokenHeader

    http2 Network.HPACK.Internal

    Getting TokenHeader.

  10. toTokenHeaderTable :: [Header] -> IO TokenHeaderTable

    http2 Network.HPACK.Internal

    Converting a header list of the http-types style to TokenHeaderList and ValueTable.

Page 276 of many | Previous | Next