| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
OpenTelemetry.AWSXRay.Baggage
Description
Functions for dealing with Baggage
We ported specs about Baggage from the Java Propagator:
And using the obvious encodeBaggageHeader/decodeBaggageHeader functions
fails them. So, we roll our own stuff here.
Synopsis
- decode :: [(ByteString, ByteString)] -> Maybe Baggage
- encode :: Baggage -> [(ByteString, ByteString)]
- data Token
- data Element
- data Baggage
Documentation
decode :: [(ByteString, ByteString)] -> Maybe Baggage Source #
encode :: Baggage -> [(ByteString, ByteString)] Source #
A key for a baggage entry, restricted to the set of valid characters
specified in the token definition of RFC 2616:
An entry into the baggage