Domain Detective

API Reference

Class

UptimeProbeAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements
Modifiers sealed

Performs a single HTTP(S) probe capturing TTFB/total latency, status and basic header posture.

Inheritance

  • Object
  • UptimeProbeAnalysis

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

Methods

public async Task ProbeAsync(String url, InternalLogger logger = null, CancellationToken ct = null) #
Returns: Task

Performs a HEAD probe (optionally falls back to GET) and records timing and posture.

Parameters

url System.String requiredposition: 0
logger DomainDetective.InternalLogger = null optionalposition: 1
ct System.Threading.CancellationToken = null optionalposition: 2
public async Task SaveSnapshotAsync(String path, CancellationToken ct = null) #
Returns: Task

Serializes a simple JSON snapshot to the given path.

Parameters

path System.String requiredposition: 0
ct System.Threading.CancellationToken = null optionalposition: 1

Properties

public String Subject { get; set; } #

Gets or sets the subject value.

public Uri Url { get; set; } #

Gets or sets the url value.

public Boolean Success { get; set; } #

Gets or sets the success value.

public Int32 StatusCode { get; set; } #

Gets or sets the status code value.

public Int64 TtfbMilliseconds { get; set; } #

Gets or sets the ttfb milliseconds value.

public Int64 TotalMilliseconds { get; set; } #

Gets or sets the total milliseconds value.

public Dictionary<String, String> ImportantHeaders { get; } #

Gets the important headers value.

public Boolean IsHttps { get; } #

Represents the is https value.

public virtual List<Assessment> Assessments { get; } #

Gets the assessments value.

public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #

Represents the recommendations value.

{{ include "footer" }}