internal static HttpHeader ParseHttpHeader(ref ReadableBuffer buffer, ref HeaderTable headerTable, IBufferPool memoryPool) { var headers = new List <Header>(); while (!buffer.IsEmpty) { var header = Hpack.ReadHeader(ref buffer, ref headerTable, memoryPool); if (!header.IsResize) { headers.Add(header); } } return(new HttpHeader(headers)); }
public HttpHeader ParseHeader(ref ReadableBuffer buffer) => Hpack.ParseHttpHeader(ref buffer, ref _decoderTable, _memoryPool);