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)
298request.Headers.Connection.Add("upgrade");
Microsoft.AspNetCore.WebSockets.Tests (10)
WebSocketCompressionMiddlewareTests.cs (3)
170request.Headers.Connection.Clear(); 171request.Headers.Connection.Add("Upgrade"); 172request.Headers.Connection.Add("keep-alive");
WebSocketMiddlewareTests.cs (7)
677request.Headers.Connection.Clear(); 678request.Headers.Connection.Add("Upgrade"); 760request.Headers.Connection.Clear(); 761request.Headers.Connection.Add("Upgrade"); 762request.Headers.Connection.Add("keep-alive"); 833request.Headers.Connection.Clear(); 834request.Headers.Connection.Add("Upgrade");
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (2)
184client.DefaultRequestHeaders.Connection.Clear(); 185client.DefaultRequestHeaders.Connection.Add("close");
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1218_sendRequestMessage.Headers.Connection.Add(HttpKnownHeaderNames.KeepAlive);