1 write to OutboundHeaderName
Microsoft.AspNetCore.HeaderPropagation (1)
HeaderPropagationMessageHandlerEntry.cs (1)
29
OutboundHeaderName
= outboundHeaderName;
10 references to OutboundHeaderName
Microsoft.AspNetCore.HeaderPropagation (8)
HeaderPropagationMessageHandler.cs (6)
61
if (!request.Headers.TryGetValues(entry.
OutboundHeaderName
, out var _) &&
62
!(hasContent && request.Content!.Headers.TryGetValues(entry.
OutboundHeaderName
, out var _)))
70
if (!request.Headers.TryAddWithoutValidation(entry.
OutboundHeaderName
, value) && hasContent)
72
request.Content!.Headers.TryAddWithoutValidation(entry.
OutboundHeaderName
, value);
78
if (!request.Headers.TryAddWithoutValidation(entry.
OutboundHeaderName
, values) && hasContent)
80
request.Content!.Headers.TryAddWithoutValidation(entry.
OutboundHeaderName
, values);
HeaderPropagationMessageHandlerEntryCollection.cs (1)
16
/// <see cref="HeaderPropagationMessageHandlerEntry.
OutboundHeaderName
"/>.
HeaderPropagationMessageHandlerOptions.cs (1)
18
/// over a later entry if they have the same <see cref="HeaderPropagationMessageHandlerEntry.
OutboundHeaderName
"/>.
Microsoft.AspNetCore.HeaderPropagation.Tests (2)
HeaderPropagationMessageHandlerEntryCollectionTest.cs (2)
17
Assert.Equal("foo", entry.
OutboundHeaderName
);
29
Assert.Equal("bar", entry.
OutboundHeaderName
);