5 references to KnownHeader
System.Net.Http (5)
System\Net\Http\Headers\HeaderDescriptor.cs (2)
19
/// Either a <see cref="
KnownHeader
"/> or <see cref="string"/>.
31
Debug.Assert(customHeader || KnownHeaders.TryGetKnownHeader(headerName) is null, $"The {nameof(
KnownHeader
)} overload should be used for {headerName}");
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (1)
1430
KnownHeader? knownHeader = header.Key.
KnownHeader
;
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
728
KnownHeader? knownHeader = header.Key.
KnownHeader
;
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
426
if (header.Key.
KnownHeader
is KnownHeader knownHeader)