Table of Contents

Property BaggageKeyFilter

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

BaggageKeyFilter

Gets or sets a predicate that selects which baggage keys are propagated.

public Func<string, bool>? BaggageKeyFilter { get; set; }

Property Value

Func<string, bool>

Remarks

Applied on both publish (inject) and receive (extract). When null, all keys are propagated. Only used when PropagateBaggage is true. The predicate must not throw.