2 instantiations of HeaderField
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (1)
70var entry = new HeaderField(staticTableIndex, name, value);
src\Shared\runtime\Http2\Hpack\H2StaticTable.Http2.cs (1)
100new HeaderField(
19 references to HeaderField
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
2448ref readonly var entry = ref H2StaticTable.Get(index - 1);
Http2\Http2TestBase.cs (1)
448ref readonly var entry = ref H2StaticTable.Get(index - 1);
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Internal\Http2\Http2Connection.cs (1)
1550ref readonly var entry = ref H2StaticTable.Get(index - 1);
src\Shared\Hpack\DynamicHPackEncoder.cs (1)
93var headerLength = HeaderField.GetLength(name.Length, valueEncoding?.GetByteCount(value) ?? value.Length);
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (9)
8private HeaderField[] _buffer; 17_buffer = new HeaderField[maxSize / HeaderField.RfcOverhead]; 27public ref readonly HeaderField this[int index] 58int entryLength = HeaderField.GetLength(name.Length, value.Length); 70var entry = new HeaderField(staticTableIndex, name, value); 81var newBuffer = new HeaderField[maxSize / HeaderField.RfcOverhead]; 105ref HeaderField field = ref _buffer[_removeIndex];
src\Shared\runtime\Http2\Hpack\H2StaticTable.Http2.cs (4)
12public static ref readonly HeaderField Get(int index) => ref s_staticDecoderTable[index]; 31private static readonly HeaderField[] s_staticDecoderTable = new HeaderField[] 99private static HeaderField CreateHeaderField(int staticTableIndex, string name, string value) =>
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (2)
550ref readonly HeaderField header = ref GetDynamicHeader(index); 653private ref readonly HeaderField GetDynamicHeader(int index)