8 references to Connection
System.Net.Http (8)
System\Net\Http\Headers\HttpGeneralHeaders.cs (5)
43
if (!_parent.ContainsParsedValue(KnownHeaders.
Connection
.Descriptor, HeaderUtilities.ConnectionClose))
45
_parent.AddParsedValue(KnownHeaders.
Connection
.Descriptor, HeaderUtilities.ConnectionClose);
52
_parent.RemoveParsedValue(KnownHeaders.
Connection
.Descriptor, HeaderUtilities.ConnectionClose);
59
if (parent.ContainsParsedValue(KnownHeaders.
Connection
.Descriptor, HeaderUtilities.ConnectionClose))
144
_connection ??= new HttpHeaderValueCollection<string>(KnownHeaders.
Connection
.Descriptor, _parent);
System\Net\Http\Headers\KnownHeaders.cs (1)
251
case 'c': return
Connection
; // [C]onnection
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (1)
1436
if (knownHeader != KnownHeaders.Host && knownHeader != KnownHeaders.
Connection
&& knownHeader != KnownHeaders.Upgrade && knownHeader != KnownHeaders.ProxyConnection)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
734
if (knownHeader != KnownHeaders.Host && knownHeader != KnownHeaders.
Connection
&& knownHeader != KnownHeaders.Upgrade && knownHeader != KnownHeaders.ProxyConnection)