Refactoring and improvements to `HttpHeaderHelpers` by andrewlock · Pull Request #8153 · DataDog/dd-trace-dotnet

andrewlock

andrewlock

andrewlock

andrewlock

andrewlock

andrewlock

@andrewlock

@andrewlock

@andrewlock

…e in passing in a lambda to reduce allocations, so just pass an instance in directly instead

@andrewlock

@andrewlock

@andrewlock

They're stateless objects, so it doesn't really make sense to have them being created multiple times. Also, it avoids re-doing the concatenation work in the lazy etc
…as it allocates and doesn't do anything

@andrewlock

@andrewlock

tonyredondo

daniel-romano-DD

NachoEchevarria

NachoEchevarria

dudikeleti

lucaspimentel

@andrewlock andrewlock added the area:tracer

The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations)

label

Feb 23, 2026