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