2 implementations of IHttpStreamHeadersHandler
Microsoft.AspNetCore.Shared.Tests (2)
runtime\Http2\HPackDecoderTest.cs (1)
960public class TestHttpHeadersHandler : IHttpStreamHeadersHandler
runtime\Http3\QPackDecoderTest.cs (1)
367public class TestHttpHeadersHandler : IHttpStreamHeadersHandler
45 references to IHttpStreamHeadersHandler
Microsoft.AspNetCore.Shared.Tests (45)
runtime\Http2\HPackDecoderTest.cs (7)
965void IHttpStreamHeadersHandler.OnHeader(ReadOnlySpan<byte> name, ReadOnlySpan<byte> value) 973void IHttpStreamHeadersHandler.OnStaticIndexedHeader(int index) 976((IHttpStreamHeadersHandler)this).OnHeader(entry.Name, entry.Value); 980void IHttpStreamHeadersHandler.OnStaticIndexedHeader(int index, ReadOnlySpan<byte> value) 983((IHttpStreamHeadersHandler)this).OnHeader(name, value); 987void IHttpStreamHeadersHandler.OnHeadersComplete(bool endStream) { } 989void IHttpStreamHeadersHandler.OnDynamicIndexedHeader(int? index, ReadOnlySpan<byte> name, ReadOnlySpan<byte> value)
runtime\Http3\QPackDecoderTest.cs (6)
372void IHttpStreamHeadersHandler.OnHeader(ReadOnlySpan<byte> name, ReadOnlySpan<byte> value) 385void IHttpStreamHeadersHandler.OnStaticIndexedHeader(int index) 388((IHttpStreamHeadersHandler)this).OnHeader(entry.Name, entry.Value); 392void IHttpStreamHeadersHandler.OnStaticIndexedHeader(int index, ReadOnlySpan<byte> value) 395((IHttpStreamHeadersHandler)this).OnHeader(name, value); 399void IHttpStreamHeadersHandler.OnHeadersComplete(bool endStream) { }
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (15)
121public void Decode(in ReadOnlySequence<byte> data, bool endHeaders, IHttpStreamHeadersHandler handler) 131public void Decode(ReadOnlySpan<byte> data, bool endHeaders, IHttpStreamHeadersHandler handler) 137private void DecodeInternal(ReadOnlySpan<byte> data, IHttpStreamHeadersHandler handler) 208private void ParseHeaderValueLength(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 238private void ParseHeaderNameLengthContinue(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 251private void ParseHeaderValueLengthContinue(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 263private void ParseHeaderFieldIndex(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 271private void ParseHeaderNameIndex(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 280private void ParseHeaderNameLength(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 306private void Parse(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 390private void ParseLiteralHeaderField(ReadOnlySpan<byte> data, ref int currentIndex, byte b, byte mask, byte indexPrefix, bool index, IHttpStreamHeadersHandler handler) 417private void ParseHeaderName(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 455private void ParseHeaderValue(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 499private void ProcessHeaderValue(ReadOnlySpan<byte> data, IHttpStreamHeadersHandler handler) 542private void OnIndexedHeaderField(int index, IHttpStreamHeadersHandler handler)
src\Shared\runtime\Http3\QPack\QPackDecoder.cs (17)
166public void Decode(in ReadOnlySequence<byte> data, bool endHeaders, IHttpStreamHeadersHandler handler) 175public void Decode(ReadOnlySpan<byte> data, bool endHeaders, IHttpStreamHeadersHandler handler) 181private void DecodeInternal(ReadOnlySpan<byte> data, IHttpStreamHeadersHandler handler) 271private void ParseHeaderNameLength(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 284private void ParseHeaderName(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 323private void ParseHeaderFieldIndex(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 331private void ParseHeaderNameIndex(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 340private void ParseHeaderValueLength(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 370private void ParseHeaderValue(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 407private void ParseHeaderValueLengthContinue(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 424private void ParseCompressedHeaders(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 523private void ParseRequiredInsertCountContinue(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 532private void ParseBase(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 552private void ParseBaseContinue(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 561private void ParseRequiredInsertCount(ReadOnlySpan<byte> data, ref int currentIndex, IHttpStreamHeadersHandler handler) 591private void ProcessHeaderValue(ReadOnlySpan<byte> data, IHttpStreamHeadersHandler handler) 746private void OnIndexedHeaderField(int index, IHttpStreamHeadersHandler handler)