Table of Contents

IServerTiming Interface

Definition

Namespace
Cuemon.AspNetCore.Diagnostics
Assemblies
Cuemon.AspNetCore.dll
Source
src/Cuemon.AspNetCore/Diagnostics/IServerTiming.cs

Represents the Server Timing as per W3C Working Draft 28 July 2020 (https://www.w3.org/TR/2020/WD-server-timing-20200728/).

public interface IServerTiming

Properties

Name Description
Metrics

Gets the entries used to communicate one or more metrics and descriptions for the given request-response cycle.

Methods

Name Description
AddServerTiming(string)

Adds a ServerTimingMetric to the Metrics.

AddServerTiming(string, TimeSpan)

Adds a ServerTimingMetric to the Metrics.

AddServerTiming(string, TimeSpan, string)

Adds a ServerTimingMetric to the Metrics.