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