HPACK library 是 Go 语言实现的 HPACK 压缩库。
示例代码:
<pre class="brush:cpp ;toolbar: true; auto-links: false;">decoder := hpack.NewDecoder(negotiatedDynamicTableSizeMax)
headerBlock := recvHeaderBlockAndContinuations()
headers, err := decoder.Decode(headerBlock)</pre>