class

Deadfinder::Options

Inherits Reference < Object

Instance methods

accept_status

Raw --accept-status / --dead-status values are kept for help and error messages; the parsed ranges are what the hot path consults. Both are set once during CLI parsing, before any worker fiber exists, so the workers only ever read them.

Source
accept_status=(value : String) : String
Source
accept_status_ranges
Source
check_anchors

Opt-in: verify that #fragment link targets actually exist in the linked document. Off by default because it needs the response body, which the status-only link check never reads.

Source
check_anchors=(check_anchors : Bool)

Opt-in: verify that #fragment link targets actually exist in the linked document. Off by default because it needs the response body, which the status-only link check never reads.

Source
concurrency
Source
concurrency=(concurrency : Int32)
Source
coverage
Source
coverage=(coverage : Bool)
Source
dead_status
Source
dead_status=(value : String) : String
Source
dead_status_ranges
Source
debug
Source
debug=(debug : Bool)
Source
delay

Minimum interval, in milliseconds, between two requests to the same host. Per-host on purpose: one slow host must not stall the others.

Source
delay=(delay : Int32)

Minimum interval, in milliseconds, between two requests to the same host. Per-host on purpose: one slow host must not stall the others.

Source
fail_on_dead

Opt-in CI gate. The v1 CLI contract always exits 0, so this stays off by default and only --fail-on-dead turns findings into a non-zero exit.

Source
fail_on_dead=(fail_on_dead : Bool)

Opt-in CI gate. The v1 CLI contract always exits 0, so this stays off by default and only --fail-on-dead turns findings into a non-zero exit.

Source
headers
Source
headers=(headers : Array(String))
Source
http_method

HTTP method used for link status checks only; documents (the scan target page, a sitemap) are always fetched with GET because their body is the point. See HttpClient::METHOD_AUTO for the auto fallback rule.

Source
http_method=(http_method : String)

HTTP method used for link status checks only; documents (the scan target page, a sitemap) are always fetched with GET because their body is the point. See HttpClient::METHOD_AUTO for the auto fallback rule.

Source
ignore
Source
ignore=(ignore : String)
Source
include30x
Source
include30x=(include30x : Bool)
Source
insecure
Source
insecure=(insecure : Bool)
Source
limit
Source
limit=(limit : Int32)
Source
match
Source
match=(match : String)
Source
output
Source
output=(output : String)
Source
output_format
Source
output_format=(output_format : String)
Source
proxy
Source
proxy=(proxy : String)
Source
proxy_auth
Source
proxy_auth=(proxy_auth : String)
Source
retries

Extra attempts after the first for a transient failure (connection error, timeout, 429, 5xx). A 404 is never retried.

Source
retries=(retries : Int32)

Extra attempts after the first for a transient failure (connection error, timeout, 429, 5xx). A 404 is never retried.

Source
silent
Source
silent=(silent : Bool)
Source
target_concurrency

How many targets are scanned at once. This does not widen the request budget: concurrency stays the global cap on in-flight HTTP requests, and target concurrency only decides how many pages compete for it. Without it -c only parallelized the links within a single page, so a 5000-URL sitemap paid 5000 serial round trips before any of that concurrency helped.

Source
target_concurrency=(target_concurrency : Int32)

How many targets are scanned at once. This does not widen the request budget: concurrency stays the global cap on in-flight HTTP requests, and target concurrency only decides how many pages compete for it. Without it -c only parallelized the links within a single page, so a 5000-URL sitemap paid 5000 serial round trips before any of that concurrency helped.

Source
timeout
Source
timeout=(timeout : Int32)
Source
user_agent
Source
user_agent=(user_agent : String)
Source
verbose
Source
verbose=(verbose : Bool)
Source
visualize
Source
visualize=(visualize : String)
Source
worker_headers
Source
worker_headers=(worker_headers : Array(String))
Source