1 write to Name
System.Net.Http (1)
System\Net\Http\Headers\KnownHeader.cs (1)
23Name = name;
9 references to Name
System.Net.Http (9)
System\Net\Http\Headers\HeaderDescriptor.cs (1)
35public string Name => _descriptor is KnownHeader header ? header.Name : (_descriptor as string)!;
System\Net\Http\Headers\KnownHeader.Http2And3.cs (2)
17HPackEncoder.EncodeLiteralHeaderFieldWithoutIndexingNewNameToAllocatedArray(Name); 21QPack.QPackEncoder.EncodeLiteralHeaderFieldWithoutNameReferenceToArray(Name);
System\Net\Http\Headers\KnownHeaders.cs (2)
418if (candidate != null && StringComparer.OrdinalIgnoreCase.Equals(name, candidate.Name)) 431if (candidate != null && Ascii.EqualsIgnoreCase(name, candidate.Name))
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (2)
1440headerListSize += knownHeader.Name.Length; 1539Encoding? cookieEncoding = _pool.Settings._requestHeaderEncodingSelector?.Invoke(KnownHeaders.Cookie.Name, request);
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (1)
80_altUsedEncodedHeader = QPack.QPackEncoder.EncodeLiteralHeaderFieldWithoutNameReferenceToArray(KnownHeaders.AltUsed.Name, altUsedValue);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
738headerListSize += knownHeader.Name.Length;