App Metrics Fork me on GitHub
Show / Hide Table of Contents

Class JsonMetricsResponseWriter

Inheritance
System.Object
JsonMetricsResponseWriter
Namespace:App.Metrics.Formatters.Json
Assembly:cs.temp.dll.dll
Syntax
public class JsonMetricsResponseWriter : IMetricsResponseWriter

Constructors

JsonMetricsResponseWriter(IMetricDataSerializer)

Declaration
public JsonMetricsResponseWriter(IMetricDataSerializer serializer)
Parameters
Type Name Description
IMetricDataSerializer serializer

Properties

ContentType

Declaration
public string ContentType { get; }
Property Value
Type Description
System.String

Methods

WriteAsync(HttpContext, MetricsDataValueSource, CancellationToken)

Declaration
public Task WriteAsync(HttpContext context, MetricsDataValueSource metricsData, CancellationToken token = null)
Parameters
Type Name Description
HttpContext context
MetricsDataValueSource metricsData
CancellationToken token
Returns
Type Description
Task
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX