37 references to PseudoHeaderFields
Microsoft.AspNetCore.Server.Kestrel.Core (37)
Internal\Http2\Http2Connection.cs (37)
58private const PseudoHeaderFields _mandatoryRequestPseudoHeaderFields =
59PseudoHeaderFields.Method | PseudoHeaderFields.Path | PseudoHeaderFields.Scheme;
124private PseudoHeaderFields _parsedPseudoHeaderFields;
1362_parsedPseudoHeaderFields = PseudoHeaderFields.None;
1686private void UpdateHeaderParsingState(ReadOnlySpan<byte> value, PseudoHeaderFields headerField)
1702if (headerField != PseudoHeaderFields.None)
1720if (headerField == PseudoHeaderFields.Unknown)
1727if (headerField == PseudoHeaderFields.Status)
1741if (headerField == PseudoHeaderFields.Method)
1754private static PseudoHeaderFields GetPseudoHeaderField(int staticTableIndex)
1758var headerField = staticTableIndex switch
17601 => PseudoHeaderFields.Authority,
17612 => PseudoHeaderFields.Method,
17623 => PseudoHeaderFields.Method,
17634 => PseudoHeaderFields.Path,
17645 => PseudoHeaderFields.Path,
17656 => PseudoHeaderFields.Scheme,
17667 => PseudoHeaderFields.Scheme,
17678 => PseudoHeaderFields.Status,
17689 => PseudoHeaderFields.Status,
176910 => PseudoHeaderFields.Status,
177011 => PseudoHeaderFields.Status,
177112 => PseudoHeaderFields.Status,
177213 => PseudoHeaderFields.Status,
177314 => PseudoHeaderFields.Status,
1774_ => PseudoHeaderFields.None
1780private static PseudoHeaderFields GetPseudoHeaderField(ReadOnlySpan<byte> name)
1784return PseudoHeaderFields.None;
1788return PseudoHeaderFields.Path;
1792return PseudoHeaderFields.Method;
1796return PseudoHeaderFields.Scheme;
1800return PseudoHeaderFields.Status;
1804return PseudoHeaderFields.Authority;
1808return PseudoHeaderFields.Protocol;
1812return PseudoHeaderFields.Unknown;