Constructors

Properties

Methods

Constructors

Properties

collection: Set<Timing> = ...

Methods

  • Add a Timing instance to the collection.

    Parameters

    • timing: Timing

      The Timing instance to collect.

    Returns void

  • Append a Server-Timing header per measurement to the given Headers object.

    Parameters

    • headers: Headers = ...

      The Headers object to append to.

    Returns void

    The Headers object with the Server-Timing headers appended.

  • Convert the measurements to a string.

    Returns string

    The string representation of the measurements.