3 types derived from HttpHeaders
System.Net.Http (3)
System\Net\Http\Headers\HttpContentHeaders.cs (1)
8public sealed class HttpContentHeaders : HttpHeaders
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
8public sealed class HttpRequestHeaders : HttpHeaders
System\Net\Http\Headers\HttpResponseHeaders.cs (1)
8public sealed class HttpResponseHeaders : HttpHeaders
56 references to HttpHeaders
AuthSamples.FunctionalTests (1)
TestAssert.cs (1)
93void MapHeaders(HttpHeaders headers)
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (3)
33internal static void AddHeaderWithoutValidation(this HttpHeaders httpHeaders, KeyValuePair<string, IEnumerable<string>> header) 87internal static void MergeWebHeaderCollectionWithHttpHeaders(WebHeaderCollection headersToMerge, HttpHeaders mainHeaders, HttpHeaders contentHeaders)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\InitiatorServiceModelSecurityTokenRequirement.cs (2)
11private HttpHeaders _httpHeaders; 67internal HttpHeaders HttpHeaders
Microsoft.AspNetCore.HeaderPropagation.Tests (2)
HeaderPropagationIntegrationTest.cs (1)
230public HttpHeaders Headers { get; private set; }
HeaderPropagationMessageHandlerTest.cs (1)
261public HttpHeaders Headers { get; private set; }
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Extensions\ResponseAssert.cs (1)
41void MapHeaders(HttpHeaders headers)
Microsoft.Extensions.Http (4)
Logging\HttpHeadersLogValue.cs (4)
20public HttpHeadersLogValue(Kind kind, HttpHeaders headers, HttpHeaders? contentHeaders, Func<string, bool> shouldRedactHeaderValue) 29public HttpHeaders Headers { get; } 31public HttpHeaders? ContentHeaders { get; }
Microsoft.Extensions.Http.Diagnostics (2)
Latency\Internal\HttpClientLatencyLogEnricher.cs (1)
59private static void AppendServerName(HttpHeaders headers, StringBuilder stringBuilder)
Logging\Internal\HttpHeadersReader.cs (1)
73private void ReadHeaders(HttpHeaders headers, FrozenDictionary<string, DataClassification> headersToLog, List<KeyValuePair<string, string>> destination)
netstandard (1)
netstandard.cs (1)
1104[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.HttpHeaders))]
System.Net.Http (39)
System\Net\Http\Headers\AuthenticationHeaderValue.cs (1)
41HttpHeaders.CheckContainsNewLine(parameter);
System\Net\Http\Headers\CacheControlHeaderParser.cs (2)
32if (item is not HttpHeaders.InvalidValue) 42if (storeValue is not HttpHeaders.InvalidValue)
System\Net\Http\Headers\HeaderUtilities.cs (4)
273internal static DateTimeOffset? GetDateTimeOffsetValue(HeaderDescriptor descriptor, HttpHeaders store, DateTimeOffset? defaultValue = null) 290internal static TimeSpan? GetTimeSpanValue(HeaderDescriptor descriptor, HttpHeaders store) 327internal static void DumpHeaders(StringBuilder sb, params HttpHeaders?[] headers) 340if (headers[i] is HttpHeaders hh)
System\Net\Http\Headers\HttpGeneralHeaders.cs (4)
19private readonly HttpHeaders _parent; 57internal static bool? GetConnectionClose(HttpHeaders parent, HttpGeneralHeaders? headers) 82internal static bool? GetTransferEncodingChunked(HttpHeaders parent, HttpGeneralHeaders? headers) 149internal HttpGeneralHeaders(HttpHeaders parent)
System\Net\Http\Headers\HttpHeaders.cs (2)
16/// Key/value pairs of headers. The value is either a raw <see cref="string"/> or a <see cref="HttpHeaders.HeaderStoreItemInfo"/>. 554internal virtual void AddHeaders(HttpHeaders sourceHeaders)
System\Net\Http\Headers\HttpHeadersNonValidated.cs (9)
10/// <summary>Provides a view on top of a <see cref="HttpHeaders"/> collection that avoids forcing validation or parsing on its contents.</summary> 14/// on the <see cref="HttpHeaders"/> will be surfaced as a single header value rather than two. For any header values that have already 20private readonly HttpHeaders? _headers; 24internal HttpHeadersNonValidated(HttpHeaders headers) => _headers = headers; 34_headers is HttpHeaders headers && 64if (_headers is HttpHeaders headers && 68HttpHeaders.GetStoreValuesAsStringOrStringArray(descriptor, info, out string? singleValue, out string[]? multiValue); 86_headers is HttpHeaders headers && headers.GetEntriesArray() is HeaderEntry[] entries ? 145HttpHeaders.GetStoreValuesAsStringOrStringArray(entry.Key, entry.Value, out string? singleValue, out string[]? multiValue);
System\Net\Http\Headers\HttpHeaderValueCollection.cs (8)
36private readonly HttpHeaders _store; 48internal HttpHeaderValueCollection(HeaderDescriptor descriptor, HttpHeaders store) 100if (storeValue is not HttpHeaders.InvalidValue) 114if (item is not HttpHeaders.InvalidValue) 138return storeValue is null || storeValue is HttpHeaders.InvalidValue ? 149if (item is HttpHeaders.InvalidValue) 210if (storeValue is not HttpHeaders.InvalidValue) 221if (item is not HttpHeaders.InvalidValue)
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
273internal override void AddHeaders(HttpHeaders sourceHeaders)
System\Net\Http\Headers\HttpResponseHeaders.cs (1)
145internal override void AddHeaders(HttpHeaders sourceHeaders)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (2)
1411private int WriteHeaderCollection(HttpRequestMessage request, HttpHeaders headers, ref ArrayBuffer headerBuffer) 1424int headerValuesCount = HttpHeaders.GetStoreValuesIntoStringArray(header.Key, header.Value, ref tmpHeaderValuesArray);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (2)
713private int BufferHeaderCollection(HttpHeaders headers) 722int headerValuesCount = HttpHeaders.GetStoreValuesIntoStringArray(header.Key, header.Value, ref _headerValues);
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (3)
417private void WriteHeaderCollection(HttpHeaders headers, string? cookiesFromContainer = null) 436int headerValuesCount = HttpHeaders.GetStoreValuesIntoStringArray(header.Key, header.Value, ref headerValues); 1287HttpHeaders headers;
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
511private static void ValidateHeader(HttpHeaders headers, string name, string expectedValue)