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