4 instantiations of HeaderPropagationEntry
Microsoft.AspNetCore.HeaderPropagation (4)
HeaderPropagationEntryCollection.cs (4)
24
Add(new
HeaderPropagationEntry
(headerName, headerName, valueFilter: null));
41
Add(new
HeaderPropagationEntry
(headerName, headerName, valueFilter));
59
Add(new
HeaderPropagationEntry
(inboundHeaderName, outboundHeaderName, valueFilter: null));
84
Add(new
HeaderPropagationEntry
(inboundHeaderName, outboundHeaderName, valueFilter));
19 references to HeaderPropagationEntry
Microsoft.AspNetCore.HeaderPropagation (19)
DependencyInjection\HeaderPropagationHttpClientBuilderExtensions.cs (1)
34
var
header = middlewareOptions.Value.Headers[i];
HeaderPropagationContext.cs (1)
10
/// A context object for <see cref="
HeaderPropagationEntry
.ValueFilter"/> delegates.
HeaderPropagationEntry.cs (1)
14
/// Creates a new <see cref="
HeaderPropagationEntry
"/> with the provided <paramref name="inboundHeaderName"/>,
HeaderPropagationEntryCollection.cs (12)
10
/// A collection of <see cref="
HeaderPropagationEntry
"/> items.
12
public sealed class HeaderPropagationEntryCollection : Collection<
HeaderPropagationEntry
>
15
/// Adds an <see cref="
HeaderPropagationEntry
"/> that will use <paramref name="headerName"/> as
16
/// the value of <see cref="
HeaderPropagationEntry
.InboundHeaderName"/> and
17
/// <see cref="
HeaderPropagationEntry
.CapturedHeaderName"/>.
28
/// Adds an <see cref="
HeaderPropagationEntry
"/> that will use <paramref name="headerName"/> as
29
/// the value of <see cref="
HeaderPropagationEntry
.InboundHeaderName"/> and
30
/// <see cref="
HeaderPropagationEntry
.CapturedHeaderName"/>.
35
/// See <see cref="
HeaderPropagationEntry
.ValueFilter"/>.
45
/// Adds an <see cref="
HeaderPropagationEntry
"/> that will use the provided <paramref name="inboundHeaderName"/>
63
/// Adds an <see cref="
HeaderPropagationEntry
"/> that will use the provided <paramref name="inboundHeaderName"/>,
74
/// See <see cref="
HeaderPropagationEntry
.ValueFilter"/>.
HeaderPropagationMiddleware.cs (2)
52
var
entry = entries[i];
69
private static StringValues GetValue(HttpContext context,
HeaderPropagationEntry
entry)
HeaderPropagationOptions.cs (1)
18
/// over a later entry if they have the same <see cref="
HeaderPropagationEntry
.CapturedHeaderName"/>.
HeaderPropagationValues.cs (1)
20
/// The keys of <see cref="Headers"/> correspond to <see cref="
HeaderPropagationEntry
.CapturedHeaderName"/>.