15 references to Connection
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1072
_httpRequestMessage.Headers.
Connection
.TryParseAdd(value);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
OpaqueUpgradeTests.cs (1)
298
request.Headers.
Connection
.Add("upgrade");
Microsoft.AspNetCore.WebSockets.Tests (10)
WebSocketCompressionMiddlewareTests.cs (3)
170
request.Headers.
Connection
.Clear();
171
request.Headers.
Connection
.Add("Upgrade");
172
request.Headers.
Connection
.Add("keep-alive");
WebSocketMiddlewareTests.cs (7)
677
request.Headers.
Connection
.Clear();
678
request.Headers.
Connection
.Add("Upgrade");
760
request.Headers.
Connection
.Clear();
761
request.Headers.
Connection
.Add("Upgrade");
762
request.Headers.
Connection
.Add("keep-alive");
833
request.Headers.
Connection
.Clear();
834
request.Headers.
Connection
.Add("Upgrade");
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (2)
184
client.DefaultRequestHeaders.
Connection
.Clear();
185
client.DefaultRequestHeaders.
Connection
.Add("close");
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1218
_sendRequestMessage.Headers.
Connection
.Add(HttpKnownHeaderNames.KeepAlive);