1 write to Value
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\runtime\Http2\Hpack\HeaderField.cs (1)
28
Value
= value.ToArray();
30 references to Value
Microsoft.AspNetCore.Shared.Tests (30)
runtime\Http2\DynamicTableTest.cs (24)
33
dynamicTable.Insert(_header1.Name, _header1.
Value
);
36
dynamicTable.Insert(_header2.Name, _header2.
Value
);
46
dynamicTable.Insert(_header1.Name, _header1.
Value
);
49
dynamicTable.Insert(_header2.Name, _header2.
Value
);
57
dynamicTable.Insert(_header1.Name, _header1.
Value
);
58
dynamicTable.Insert(_header2.Name, _header2.
Value
);
69
dynamicTable.Insert(_header1.Name, _header1.
Value
);
77
dynamicTable.Insert(_header1.Name, _header1.
Value
);
87
dynamicTable.Insert(_header1.Name, _header1.
Value
);
91
dynamicTable.Insert(_header2.Name, _header2.
Value
);
140
Assert.True(expectedData.AsSpan().SequenceEqual(dynamicField.
Value
));
178
Assert.True(headers[i].
Value
.AsSpan().SequenceEqual(dynamicTable[i].
Value
));
186
dynamicTable.Insert(_header1.Name, _header1.
Value
);
187
dynamicTable.Insert(_header2.Name, _header2.
Value
);
200
dynamicTable.Insert(_header1.Name, _header1.
Value
);
201
dynamicTable.Insert(_header2.Name, _header2.
Value
);
213
dynamicTable.Insert(_header1.Name, _header1.
Value
);
214
dynamicTable.Insert(_header2.Name, _header2.
Value
);
223
dynamicTable.Insert(_header2.Name, _header2.
Value
);
249
Assert.NotSame(entries[i].
Value
, headerField.
Value
);
250
Assert.Equal(entries[i].
Value
, headerField.
Value
);
runtime\Http2\HPackDecoderTest.cs (3)
949
Assert.Equal(expectedHeaderValue, Encoding.ASCII.GetString(dynamicTable[0].
Value
));
976
((IHttpStreamHeadersHandler)this).OnHeader(entry.Name, entry.
Value
);
977
DecodedStaticHeaders[index] = new KeyValuePair<string, string>(Encoding.ASCII.GetString(entry.Name), Encoding.ASCII.GetString(entry.
Value
));
src\Shared\runtime\Http2\Hpack\HeaderField.cs (2)
37
public int Length => GetLength(Name.Length,
Value
.Length);
45
return Encoding.Latin1.GetString(Name) + ": " + Encoding.Latin1.GetString(
Value
);
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (1)
551
handler.OnDynamicIndexedHeader(header.StaticTableIndex, header.Name, header.
Value
);