• Beta

    Append CMCD query args to a header object.

    Parameters

    • headers: Record<string, string>

      The headers to append to.

    • cmcd: Cmcd

      The CMCD object to append.

    • Optional options: CmcdEncodeOptions

      Encode options.

    Returns Record<string, string>

    The headers with the CMCD header shards appended.