7 references to Host
System.Net.Http (7)
System\Net\Http\Headers\HttpRequestHeaders.cs (2)
108
get { return (string?)GetSingleParsedValue(KnownHeaders.
Host
.Descriptor); }
121
SetOrRemoveParsedValue(KnownHeaders.
Host
.Descriptor, value);
System\Net\Http\Headers\KnownHeaders.cs (1)
188
case 'h': return
Host
; // [H]ost
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\Http2Stream.cs (1)
527
(KnownHeaders.
Host
.Descriptor, Array.Empty<byte>()),
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
734
if (knownHeader != KnownHeaders.
Host
&& knownHeader != KnownHeaders.Connection && knownHeader != KnownHeaders.Upgrade && knownHeader != KnownHeaders.ProxyConnection)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
357
WriteBytes(KnownHeaders.
Host
.AsciiBytesWithColonSpace);