10 references to HeaderEncodingHint
Microsoft.AspNetCore.Server.Kestrel.Core (10)
src\Servers\Kestrel\shared\HPackHeaderWriter.cs (7)
114return hpackEncoder.EncodeHeader(buffer, H2StaticTable.Status200, HeaderEncodingHint.Index, name, value, valueEncoding: null, out length); 130var hint = ResolveHeaderEncodingHint(staticTableId, name); 159private static HeaderEncodingHint ResolveHeaderEncodingHint(int staticTableId, string name) 161HeaderEncodingHint hint; 164hint = HeaderEncodingHint.NeverIndex; 168hint = HeaderEncodingHint.IgnoreIndex; 172hint = HeaderEncodingHint.Index;
src\Shared\Hpack\DynamicHPackEncoder.cs (3)
68public bool EncodeHeader(Span<byte> buffer, int staticTableIndex, HeaderEncodingHint encodingHint, string name, string value, 74if (encodingHint == HeaderEncodingHint.NeverIndex) 84if (!_allowDynamicCompression || _maxHeaderTableSize == 0 || encodingHint == HeaderEncodingHint.IgnoreIndex)