3 instantiations of HttpResponseHeaders
System.Net.Http (3)
System\Net\Http\HttpResponseMessage.cs (2)
105public HttpResponseHeaders Headers => _headers ??= new HttpResponseHeaders(); 107public HttpResponseHeaders TrailingHeaders => _trailingHeaders ??= new HttpResponseHeaders(containsTrailingHeaders: true);
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
774_trailers ??= new HttpResponseHeaders(containsTrailingHeaders: true);
20 references to HttpResponseHeaders
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
290private static async Task<(byte[], HttpResponseHeaders)> StartLongRunningRequestAsync(ILogger logger, IHost host, HttpMessageInvoker client)
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
CorsTestsBase.cs (5)
54var responseHeaders = response.Headers; 167var responseHeaders = response.Headers; 200var responseHeaders = response.Headers; 310var responseHeaders = response.Headers; 342var responseHeaders = response.Headers;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
ResponseHeaderTests.cs (1)
288var headers = response.Headers;
ResponseTrailersTests.cs (1)
327var headers = response.TrailingHeaders;
netstandard (1)
netstandard.cs (1)
1107[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.HttpResponseHeaders))]
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (1)
130var headers = response.Headers;
System.Net.Http (9)
System\Net\Http\Headers\HttpResponseHeaders.cs (3)
23private T GetSpecializedCollection<T>(int slot, Func<HttpResponseHeaders, T> creationFunc) 148HttpResponseHeaders? sourceResponseHeaders = sourceHeaders as HttpResponseHeaders;
System\Net\Http\HttpResponseMessage.cs (5)
17private HttpResponseHeaders? _headers; 18private HttpResponseHeaders? _trailingHeaders; 105public HttpResponseHeaders Headers => _headers ??= new HttpResponseHeaders(); 107public HttpResponseHeaders TrailingHeaders => _trailingHeaders ??= new HttpResponseHeaders(containsTrailingHeaders: true); 116internal void StoreReceivedTrailingHeaders(HttpResponseHeaders headers)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
37private HttpResponseHeaders? _trailers;
System.Net.WebSockets.Client (1)
System\Net\WebSockets\HttpResponseHeadersReadOnlyCollection.cs (1)
15public HttpResponseHeadersReadOnlyCollection(HttpResponseHeaders headers) => _headers = headers.NonValidated;