W3CBaggage implements Propagator
Read onlyYes
FinalYes
Entry properties are parsed but dropped.
Tags
Interfaces
Constants
- HEADER_BAGGAGE : string = 'baggage'
Methods
- extract() : PropagationContext
- Extract context from a carrier.
- fields() : array<string|int, string>
- Get the list of header/field names this propagator uses.
- inject() : void
- Inject context into a carrier.
Constants
HEADER_BAGGAGE
public
string
HEADER_BAGGAGE
= 'baggage'
Methods
extract()
Extract context from a carrier.
public
extract(Carrier<string|int, mixed> $carrier) : PropagationContext
Parameters
- $carrier : Carrier<string|int, mixed>
Return values
PropagationContext —The extracted context
fields()
Get the list of header/field names this propagator uses.
public
fields() : array<string|int, string>
Return values
array<string|int, string>inject()
Inject context into a carrier.
public
inject(PropagationContext $context, Carrier<string|int, mixed> $carrier) : void
Parameters
- $context : PropagationContext
-
The context to inject
- $carrier : Carrier<string|int, mixed>