add-header-to-table ( hpack-context header -- updated-context )


Vocabulary
http2.hpack.private

Inputs
hpack-contextan object
headeran object


Outputs
updated-contextan object


Definition


:: add-header-to-table
( hpack-context header -- updated-context )
hpack-context dynamic-table>> hpack-context max-size>>
header header-size - shrink-dynamic-table
header header-size hpack-context max-size>> <=
[ header prefix ] when hpack-context swap >>dynamic-table ;