4 instantiations of HttpResponseHeaders
System.Net.Http (4)
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);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
635_trailingHeaders = new HttpResponseHeaders(containsTrailingHeaders: true);
13 references to HttpResponseHeaders
netstandard (1)
netstandard.cs (1)
1107[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.HttpResponseHeaders))]
System.Net.Http (10)
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\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
49private HttpResponseHeaders? _trailingHeaders;
System.Net.Http.WinHttpHandler (1)
System\Net\Http\WinHttpResponseParser.cs (1)
282HttpResponseHeaders responseHeaders = response.Headers;
System.Net.WebSockets.Client (1)
System\Net\WebSockets\HttpResponseHeadersReadOnlyCollection.cs (1)
15public HttpResponseHeadersReadOnlyCollection(HttpResponseHeaders headers) => _headers = headers.NonValidated;