Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ParseHeaderNameIndex()

void System.Net.Http.HPack.HPackDecoder.ParseHeaderNameIndex ( ReadOnlySpan< byte > data,
ref int currentIndex,
IHttpHeadersHandler handler )
inlineprivate

Definition at line 196 of file HPackDecoder.cs.

197 {
198 if (TryDecodeInteger(data, ref currentIndex, out var result))
199 {
200 OnIndexedHeaderName(result);
201 ParseHeaderValueLength(data, ref currentIndex, handler);
202 }
203 }
bool TryDecodeInteger(ReadOnlySpan< byte > data, ref int currentIndex, out int result)
void ParseHeaderValueLength(ReadOnlySpan< byte > data, ref int currentIndex, IHttpHeadersHandler handler)

References System.Net.Http.HPack.HPackDecoder.OnIndexedHeaderName(), System.Net.Http.HPack.HPackDecoder.ParseHeaderValueLength(), and System.Net.Http.HPack.HPackDecoder.TryDecodeInteger().

Referenced by System.Net.Http.HPack.HPackDecoder.DecodeInternal(), and System.Net.Http.HPack.HPackDecoder.ParseLiteralHeaderField().