Class ReverseProxyPropagator
Removes existing headers and then delegates to the inner propagator.
Inheritance
System.Object
ReverseProxyPropagator
Assembly: Yarp.ReverseProxy.dll
Syntax
public sealed class ReverseProxyPropagator : DistributedContextPropagator
Constructors
|
Improve this Doc
View Source
ReverseProxyPropagator(DistributedContextPropagator)
ReverseProxyPropagator removes headers pointed out in innerPropagator.
Declaration
public ReverseProxyPropagator(DistributedContextPropagator innerPropagator)
Parameters
Type |
Name |
Description |
DistributedContextPropagator |
innerPropagator |
|
Properties
|
Improve this Doc
View Source
Fields
Declaration
public override IReadOnlyCollection<string> Fields { get; }
Property Value
Type |
Description |
IReadOnlyCollection<System.String> |
|
Methods
|
Improve this Doc
View Source
Declaration
public override IEnumerable<KeyValuePair<string, string?>>? ExtractBaggage(object? carrier, PropagatorGetterCallback? getter)
Parameters
Type |
Name |
Description |
System.Nullable<System.Object> |
carrier |
|
System.Nullable<PropagatorGetterCallback> |
getter |
|
Returns
Type |
Description |
System.Nullable<IEnumerable<KeyValuePair<System.String, System.Nullable<System.String>>>> |
|
|
Improve this Doc
View Source
ExtractTraceIdAndState(Nullable<Object>, Nullable<PropagatorGetterCallback>, out Nullable<String>, out Nullable<String>)
Declaration
public override void ExtractTraceIdAndState(object? carrier, PropagatorGetterCallback? getter, out string? traceId, out string? traceState)
Parameters
Type |
Name |
Description |
System.Nullable<System.Object> |
carrier |
|
System.Nullable<PropagatorGetterCallback> |
getter |
|
System.Nullable<System.String> |
traceId |
|
System.Nullable<System.String> |
traceState |
|
|
Improve this Doc
View Source
Inject(Nullable<Activity>, Nullable<Object>, Nullable<PropagatorSetterCallback>)
Declaration
public override void Inject(Activity? activity, object? carrier, PropagatorSetterCallback? setter)
Parameters
Type |
Name |
Description |
System.Nullable<Activity> |
activity |
|
System.Nullable<System.Object> |
carrier |
|
System.Nullable<PropagatorSetterCallback> |
setter |
|