97 references to KnownHeaderType
Microsoft.AspNetCore.Server.Kestrel.Core (97)
Internal\Http\HttpHeaders.Generated.cs (64)
109internal static (int index, bool matchedValue) MatchKnownHeaderQPack(KnownHeaderType knownHeader, string value) 113case KnownHeaderType.Age: 121case KnownHeaderType.ContentLength: 129case KnownHeaderType.Date: 131case KnownHeaderType.ETag: 133case KnownHeaderType.LastModified: 135case KnownHeaderType.Location: 137case KnownHeaderType.SetCookie: 139case KnownHeaderType.AcceptRanges: 147case KnownHeaderType.AccessControlAllowHeaders: 159case KnownHeaderType.AccessControlAllowOrigin: 167case KnownHeaderType.CacheControl: 185case KnownHeaderType.ContentEncoding: 195case KnownHeaderType.ContentType: 223case KnownHeaderType.Vary: 233case KnownHeaderType.AccessControlAllowCredentials: 243case KnownHeaderType.AccessControlAllowMethods: 255case KnownHeaderType.AccessControlExposeHeaders: 263case KnownHeaderType.AltSvc: 271case KnownHeaderType.Server: 15255_currentKnownType = KnownHeaderType.Connection; 15261_currentKnownType = KnownHeaderType.ContentType; 15267_currentKnownType = KnownHeaderType.Date; 15273_currentKnownType = KnownHeaderType.Server; 15279_currentKnownType = KnownHeaderType.AcceptRanges; 15285_currentKnownType = KnownHeaderType.AccessControlAllowCredentials; 15291_currentKnownType = KnownHeaderType.AccessControlAllowHeaders; 15297_currentKnownType = KnownHeaderType.AccessControlAllowMethods; 15303_currentKnownType = KnownHeaderType.AccessControlAllowOrigin; 15309_currentKnownType = KnownHeaderType.AccessControlExposeHeaders; 15315_currentKnownType = KnownHeaderType.AccessControlMaxAge; 15321_currentKnownType = KnownHeaderType.Age; 15327_currentKnownType = KnownHeaderType.Allow; 15333_currentKnownType = KnownHeaderType.AltSvc; 15339_currentKnownType = KnownHeaderType.CacheControl; 15345_currentKnownType = KnownHeaderType.ContentEncoding; 15351_currentKnownType = KnownHeaderType.ContentLanguage; 15357_currentKnownType = KnownHeaderType.ContentLocation; 15363_currentKnownType = KnownHeaderType.ContentMD5; 15369_currentKnownType = KnownHeaderType.ContentRange; 15375_currentKnownType = KnownHeaderType.ETag; 15381_currentKnownType = KnownHeaderType.Expires; 15387_currentKnownType = KnownHeaderType.GrpcEncoding; 15393_currentKnownType = KnownHeaderType.KeepAlive; 15399_currentKnownType = KnownHeaderType.LastModified; 15405_currentKnownType = KnownHeaderType.Location; 15411_currentKnownType = KnownHeaderType.Pragma; 15417_currentKnownType = KnownHeaderType.ProxyAuthenticate; 15423_currentKnownType = KnownHeaderType.ProxyConnection; 15429_currentKnownType = KnownHeaderType.RetryAfter; 15435_currentKnownType = KnownHeaderType.SetCookie; 15441_currentKnownType = KnownHeaderType.Trailer; 15447_currentKnownType = KnownHeaderType.TransferEncoding; 15453_currentKnownType = KnownHeaderType.Upgrade; 15459_currentKnownType = KnownHeaderType.Vary; 15465_currentKnownType = KnownHeaderType.Via; 15471_currentKnownType = KnownHeaderType.Warning; 15477_currentKnownType = KnownHeaderType.WWWAuthenticate; 15483_currentKnownType = KnownHeaderType.ContentLength; 15494_currentKnownType = KnownHeaderType.Unknown; 17591_currentKnownType = KnownHeaderType.ETag; 17597_currentKnownType = KnownHeaderType.GrpcMessage; 17603_currentKnownType = KnownHeaderType.GrpcStatus; 17615_currentKnownType = KnownHeaderType.Unknown;
Internal\Http\HttpResponseHeaders.cs (2)
146private KnownHeaderType _currentKnownType; 165internal readonly KnownHeaderType CurrentKnownType => _currentKnownType;
Internal\Http\HttpResponseTrailers.cs (2)
55private KnownHeaderType _currentKnownType; 74internal readonly KnownHeaderType CurrentKnownType => _currentKnownType;
Internal\Http3\Http3HeadersEnumerator.cs (2)
25private KnownHeaderType _knownHeaderType; 106private bool SetCurrent(string name, StringValues value, KnownHeaderType knownHeaderType)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (27)
38private KnownHeaderType _knownHeaderType; 145private bool SetCurrent(string name, StringValues value, KnownHeaderType knownHeaderType) 189internal static int GetResponseHeaderStaticTableId(KnownHeaderType responseHeaderType) 194case KnownHeaderType.CacheControl: 196case KnownHeaderType.Date: 198case KnownHeaderType.TransferEncoding: 200case KnownHeaderType.Via: 202case KnownHeaderType.Allow: 204case KnownHeaderType.ContentType: 206case KnownHeaderType.ContentEncoding: 208case KnownHeaderType.ContentLanguage: 210case KnownHeaderType.ContentLocation: 212case KnownHeaderType.ContentRange: 214case KnownHeaderType.Expires: 216case KnownHeaderType.LastModified: 218case KnownHeaderType.AcceptRanges: 220case KnownHeaderType.Age: 222case KnownHeaderType.ETag: 224case KnownHeaderType.Location: 226case KnownHeaderType.ProxyAuthenticate: 228case KnownHeaderType.RetryAfter: 230case KnownHeaderType.Server: 232case KnownHeaderType.SetCookie: 234case KnownHeaderType.Vary: 236case KnownHeaderType.WWWAuthenticate: 238case KnownHeaderType.AccessControlAllowOrigin: 240case KnownHeaderType.ContentLength: