2 instantiations of HeaderField
IIS.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (1)
70
var entry = new
HeaderField
(staticTableIndex, name, value);
src\Shared\runtime\Http2\Hpack\H2StaticTable.Http2.cs (1)
100
new
HeaderField
(
16 references to HeaderField
IIS.FunctionalTests (16)
src\Shared\Http2cat\Http2Utilities.cs (1)
977
ref readonly
var
entry = ref H2StaticTable.Get(index - 1);
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (9)
8
private
HeaderField
[] _buffer;
17
_buffer = new
HeaderField
[maxSize /
HeaderField
.RfcOverhead];
27
public ref readonly
HeaderField
this[int index]
58
int entryLength =
HeaderField
.GetLength(name.Length, value.Length);
70
var
entry = new HeaderField(staticTableIndex, name, value);
81
var newBuffer = new
HeaderField
[maxSize /
HeaderField
.RfcOverhead];
105
ref
HeaderField
field = ref _buffer[_removeIndex];
src\Shared\runtime\Http2\Hpack\H2StaticTable.Http2.cs (4)
12
public static ref readonly
HeaderField
Get(int index) => ref s_staticDecoderTable[index];
31
private static readonly
HeaderField
[] s_staticDecoderTable = new
HeaderField
[]
99
private static
HeaderField
CreateHeaderField(int staticTableIndex, string name, string value) =>
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (2)
550
ref readonly
HeaderField
header = ref GetDynamicHeader(index);
653
private ref readonly
HeaderField
GetDynamicHeader(int index)