3 instantiations of HeaderCollection
Microsoft.AspNetCore.Server.HttpSys (2)
RequestProcessing\Response.cs (2)
40Headers = new HeaderCollection(); 149public HeaderCollection Trailers => _trailers ??= new HeaderCollection(checkTrailers: true) { IsReadOnly = BodyIsFinished };
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
RequestTests.cs (1)
84var customHeaders = new HeaderCollection();
8 references to HeaderCollection
Microsoft.AspNetCore.Server.HttpSys (5)
RequestProcessing\Response.cs (3)
34private HeaderCollection? _trailers; 147public HeaderCollection Headers { get; } 149public HeaderCollection Trailers => _trailers ??= new HeaderCollection(checkTrailers: true) { IsReadOnly = BodyIsFinished };
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (2)
295private sealed class HeaderCollectionDebugView(HeaderCollection collection) 297private readonly HeaderCollection _collection = collection;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
Listener\ResponseHeaderTests.cs (1)
303var responseHeaders = context.Response.Headers;
RequestTests.cs (1)
84var customHeaders = new HeaderCollection();
ResponseTrailersTests.cs (1)
64foreach (var header in HeaderCollection.DisallowedTrailers)