API Reference
Class
UptimeProbeAnalysis
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
- Property UptimeMonitor.OnAny
- Property UptimeMonitor.OnDown
- Property UptimeMonitor.OnSlow
- Property UptimeMonitor.OnUp
Constructors
public UptimeProbeAnalysis() #Methods
public async Task ProbeAsync(String url, InternalLogger logger = null, CancellationToken ct = null) #Returns:
TaskPerforms a HEAD probe (optionally falls back to GET) and records timing and posture.
Parameters
- url System.String
- logger DomainDetective.InternalLogger = null
- ct System.Threading.CancellationToken = null
public async Task SaveSnapshotAsync(String path, CancellationToken ct = null) #Returns:
TaskSerializes a simple JSON snapshot to the given path.
Parameters
- path System.String
- ct System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.