private System.Net.Http.QPack.HeaderField GetHeader(int index) { try { return(_s ? H3StaticTable.Get(index) : _dynamicTable[index]); } catch (IndexOutOfRangeException ex) { throw new QPackDecodingException("" /*CoreStrings.FormatQPackErrorIndexOutOfRange(index)*/, ex); } }
public void OnStaticIndexedHeader(int index, ReadOnlySpan <byte> value) { var knownHeader = H3StaticTable.Get(index); OnHeader(knownHeader.Name, value); }
public void OnStaticIndexedHeader(int index) { var knownHeader = H3StaticTable.Get(index); OnHeader(knownHeader.Name, knownHeader.Value); }