Domain Detective

API Reference

Class

StaticRequest

Namespace DomainDetective.WebStaticScanAnalysis
Assembly DomainDetective

Represents a single HTTP resource (main page, HTML/CSS asset, or followed link) discovered during the static scan.

Inheritance

  • Object
  • StaticRequest

Remarks

Contains timing, protocol, cache, security, redirect, and classification metadata.

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

Accepted by parameters

Constructors

public StaticRequest() #

Properties

public Int32 Id { get; set; } #

Sequential identifier for this request within the scan.

public Nullable<Int32> ParentId { get; set; } #

Identifier of the logical parent request (e.g., main document for HTML assets, CSS file for CSS children, referrer page for links).

public Int32 HostGroupId { get; set; } #

Stable grouping key matching the owning host to support waterfall lanes.

public Int32 ChildCount { get; set; } #

Total number of direct children in the request graph.

public Int32 LinkChildCount { get; set; } #

Number of direct children discovered via links.

public Int32 MaxLinkDepthFromHere { get; set; } #

Maximum link depth reachable from this node relative to its own depth.

public String Url { get; set; } #

Original URL requested.

public String Host { get; set; } #

Final host after redirects (or host parsed from Url).

public String Method { get; set; } #

HTTP method used (HEAD/GET).

public Int32 StatusCode { get; set; } #

HTTP status code returned.

public StatusClass StatusClass { get; set; } #

Classification of the status code family (2xx, 3xx, 4xx, 5xx).

public String ProtocolVersion { get; set; } #

HTTP protocol version string (e.g., 1.1, 2.0, 3.0).

public Boolean Http2 { get; set; } #

True when HTTP/2 was negotiated.

public Boolean Http3 { get; set; } #

True when HTTP/3 was negotiated.

public String ContentType { get; set; } #

Content-Type media type value when present.

public MediaSupertype ContentSupertype { get; set; } #

Top-level media supertype derived from Content-Type.

public Nullable<Int64> ContentLength { get; set; } #

Content-Length value in bytes when present.

public String FinalUrl { get; set; } #

Final URL after redirects (if any).

public ResourceCategory CategoryKind { get; set; } #

Normalized resource category used for bucketing (document/script/stylesheet/image/font/json/other).

public String Source { get; set; } #

Discovery source label (“MAIN”, “HTML”, “CSS”, “LINK”).

public ResourceSourceKind SourceKind { get; set; } #

Typed discovery source kind.

public String Referrer { get; set; } #

Referrer URL when discovered via links.

public Int32 Depth { get; set; } #

Depth for link crawling (0 at main page).

public Boolean FirstParty { get; set; } #

True when registrable domain matches the main page registrable domain.

public Boolean SameOrigin { get; set; } #

True when scheme, host and port match the main page final URL.

public Boolean HstsPresent { get; set; } #

True when Strict-Transport-Security was present on the response.

public Int32 SetCookieCount { get; set; } #

Number of Set-Cookie headers present on the response.

public String ContentLanguage { get; set; } #

Content-Language header value when present.

public String AcceptRanges { get; set; } #

Accept-Ranges header value when present.

public String ContentDisposition { get; set; } #

Content-Disposition header value when present.

public String ContentEncoding { get; set; } #

Comma-separated Content-Encoding values when present.

public String TlsProtocol { get; set; } #

TLS protocol negotiated for the host, stamped after enrichment when available.

public String TlsCipherSuite { get; set; } #

TLS cipher suite negotiated for the host, stamped after enrichment when available.

public String TlsCertSubject { get; set; } #

Leaf certificate subject when available from host TLS probe.

public String TlsCertIssuer { get; set; } #

Leaf certificate issuer when available from host TLS probe.

public Nullable<DateTime> TlsCertNotAfter { get; set; } #

Leaf certificate expiration (NotAfter) when available from host TLS probe.

public String TlsCertThumbprint { get; set; } #

Leaf certificate thumbprint when available from host TLS probe.

public String CacheControl { get; set; } #

Cache-Control header value, if set (response or content).

public String ETag { get; set; } #

ETag header value when present.

public String LastModified { get; set; } #

Last-Modified header value when present.

public Nullable<Int32> Age { get; set; } #

Age header value (seconds) when present.

public String Vary { get; set; } #

Vary header value when present.

public String Expires { get; set; } #

Expires header value when present.

public String AltSvc { get; set; } #

Alt-Svc header value when present.

public String LinkHeader { get; set; } #

Raw Link header value when present.

public Nullable<Int32> PreloadLinkCount { get; set; } #

Number of rel=preload entries parsed from the Link header.

public String PreloadAsTypes { get; set; } #

Comma-separated list of distinct as= types from rel=preload entries.

public Nullable<DateTimeOffset> StartedAtUtc { get; set; } #

Timestamp when the request attempt started (UTC).

public Nullable<DateTimeOffset> CompletedAtUtc { get; set; } #

Timestamp when response headers were received (UTC).

public Nullable<Int32> HeaderDurationMs { get; set; } #

Elapsed time (ms) to receive response headers.

public Nullable<Int32> ResponseHeaderBytes { get; set; } #

Approximate size of response headers in bytes.

public Boolean WasRedirected { get; set; } #

True when the final URL differs from the original request URL.

public RedirectKind RedirectKind { get; set; } #

Classification of the redirect from original URL to final URL (when redirected).

public Int32 RedirectHopCount { get; set; } #

Estimated number of redirect hops for this request (1 for single-step; main document uses actual chain length).

public String RedirectToHost { get; set; } #

Destination host of the redirect.

public String RedirectToScheme { get; set; } #

Destination scheme of the redirect (e.g., https).

public String ServerTiming { get; set; } #

Server-Timing header value when present (raw; aggregated separately).

public String AccessControlAllowOrigin { get; set; } #

Access-Control-Allow-Origin value when present (per-request echo).

public String AccessControlAllowMethods { get; set; } #

Access-Control-Allow-Methods value when present (per-request echo).

public String AccessControlAllowHeaders { get; set; } #

Access-Control-Allow-Headers value when present (per-request echo).

public Nullable<Boolean> AccessControlAllowCredentials { get; set; } #

Access-Control-Allow-Credentials value (true/false) when present.

public Nullable<Int32> HeaderOverBodyPct { get; set; } #

Percentage of header bytes over body bytes when both are known.

{{ include "footer" }}