6 implementations of Connection
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
230public StringValues Connection
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
230public StringValues Connection
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.Generated.cs (3)
624StringValues IHeaderDictionary.Connection 8813StringValues IHeaderDictionary.Connection 15960StringValues IHeaderDictionary.Connection
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
230public StringValues Connection
16 writes to Connection
Microsoft.AspNetCore.Http (1)
Features\DefaultConnectionLifetimeNotificationFeature.cs (1)
34_httpResponseFeature.Headers.Connection = "close";
Microsoft.AspNetCore.HttpLogging.Tests (2)
HttpLoggingMiddlewareTests.cs (2)
1252httpContext.Request.Headers.Connection = HeaderNames.Upgrade; 1262httpContext.Response.Headers.Connection = HeaderNames.Upgrade;
Microsoft.AspNetCore.Rewrite.Tests (1)
IISUrlRewrite\ServerVariableTests.cs (1)
149context.Request.Headers.Connection = "connection";
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
Http2Tests.cs (3)
324httpContext.Response.Headers.Connection = "close"; 368httpContext.Response.Headers.Connection = "close"; 446httpContext.Response.Headers.Connection = "close";
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
515ResponseHeaders.Connection = ConnectionClose;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
285ResponseHeaders.Connection = HeaderNames.Upgrade;
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (3)
HeaderCollectionBenchmark.cs (1)
154headers.Connection = "Close";
ResponseHeaderCollectionBenchmark.cs (1)
122headers.Connection = "Close";
ResponseHeadersWritingBenchmark.cs (1)
119responseHeaders.Connection = "Close";
Microsoft.AspNetCore.WebSockets (2)
HandshakeHelpers.cs (1)
24responseHeaders.Connection = HeaderNames.Upgrade;
WebSocketMiddleware.cs (1)
269requestHeaders.Connection = HeaderNames.Upgrade;
ServerComparison.TestSites (2)
StartupResponses.cs (2)
28context.Response.Headers.Connection = "close"; 56context.Response.Headers.Connection = "close";
3 references to Connection
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
HeaderCollectionBenchmark.cs (1)
273value = headers.Connection;
Microsoft.AspNetCore.WebSockets.Tests (2)
WebSocketMiddlewareTests.cs (2)
728Assert.Same(HeaderNames.Upgrade, context.Request.Headers.Connection.ToString()); 748Assert.Equal("Upgrade, keep-alive", context.Request.Headers.Connection.ToString());