4 types derived from Http1Connection
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestHttp1Connection.cs (1)
10internal class TestHttp1Connection : Http1Connection
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\Http1ConnectionOfT.cs (1)
8internal sealed class Http1Connection<TContext> : Http1Connection, IHostContextContainer<TContext> where TContext : notnull
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\TestHttp1Connection.cs (1)
10internal class TestHttp1Connection : Http1Connection
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\TestHttp1Connection.cs (1)
10internal class TestHttp1Connection : Http1Connection
10 instantiations of Http1Connection
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
HttpConnectionTests.cs (1)
33var http1Connection = new Http1Connection(httpConnectionContext);
HttpResponseHeadersTests.cs (1)
43var http1Connection = new Http1Connection(http1ConnectionContext);
StartLineTests.cs (1)
537Http1Connection = new Http1Connection(connectionContext);
TestHelpers\TestInput.cs (1)
52Http1Connection = new Http1Connection(Http1ConnectionContext);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (6)
HeaderCollectionBenchmark.cs (1)
343var http1Connection = new Http1Connection(connectionContext);
Http1ConnectionBenchmark.cs (1)
46var http1Connection = new Http1Connection(connectionContext);
Http1ConnectionParsingOverheadBenchmark.cs (1)
42var http1Connection = new Http1Connection(connectionContext);
HttpProtocolFeatureCollection.cs (1)
245var http1Connection = new Http1Connection(connectionContext);
RequestParsingBenchmark.cs (1)
44var http1Connection = new Http1Connection(connectionContext);
ResponseHeaderCollectionBenchmark.cs (1)
191var http1Connection = new Http1Connection(connectionContext);
28 references to Http1Connection
InMemory.FunctionalTests (1)
BadHttpRequestTests.cs (1)
270Assert.Equal(Http1Connection.Http2GoAwayHttp11RequiredBytes.ToArray(), data);
Microsoft.AspNetCore.Server.Kestrel.Core (13)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (2)
30public Http1ChunkedEncodingMessageBody(Http1Connection context, bool keepAlive) 516private static Pipe CreateRequestBodyPipe(Http1Connection context)
Internal\Http\Http1ContentLengthMessageBody.cs (1)
24public Http1ContentLengthMessageBody(Http1Connection context, long contentLength, bool keepAlive)
Internal\Http\Http1MessageBody.cs (3)
18protected readonly Http1Connection _context; 21protected Http1MessageBody(Http1Connection context, bool keepAlive) : base(context) 127Http1Connection context)
Internal\Http\Http1ParsingHandler.cs (3)
8public readonly Http1Connection Connection; 11public Http1ParsingHandler(Http1Connection connection) 17public Http1ParsingHandler(Http1Connection connection, bool trailers)
Internal\Http\Http1UpgradeMessageBody.cs (1)
17public Http1UpgradeMessageBody(Http1Connection context, bool keepAlive)
Internal\Http\HttpProtocol.cs (1)
1427DisableKeepAlive(Http1Connection.GetConnectionEndReason(ex));
Internal\HttpConnection.cs (2)
35private Http1Connection? _http1Connection; 149_http1Connection = requestProcessor as Http1Connection;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
Http1\Http1HttpProtocolFeatureCollectionTests.cs (1)
260private Http1Connection CreateHttp1Connection() => new TestHttp1Connection(_httpConnectionContext);
HttpConnectionTests.cs (1)
33var http1Connection = new Http1Connection(httpConnectionContext);
HttpResponseHeadersTests.cs (1)
43var http1Connection = new Http1Connection(http1ConnectionContext);
StartLineTests.cs (1)
22private Http1Connection Http1Connection { get; }
TestHelpers\TestInput.cs (1)
63public Http1Connection Http1Connection { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (9)
HeaderCollectionBenchmark.cs (1)
343var http1Connection = new Http1Connection(connectionContext);
Http1ConnectionBenchmark.cs (2)
25internal Http1Connection Connection { get; set; } 46var http1Connection = new Http1Connection(connectionContext);
Http1ConnectionParsingOverheadBenchmark.cs (2)
21private Http1Connection _http1Connection; 42var http1Connection = new Http1Connection(connectionContext);
HttpProtocolFeatureCollection.cs (1)
245var http1Connection = new Http1Connection(connectionContext);
RequestParsingBenchmark.cs (2)
22internal Http1Connection Http1Connection { get; set; } 44var http1Connection = new Http1Connection(connectionContext);
ResponseHeaderCollectionBenchmark.cs (1)
191var http1Connection = new Http1Connection(connectionContext);