class

Hwaro::Models::RobotsRule

Inherits Reference < Object

Constants

CONTENT_SIGNAL_KEYS = {"search" => "search", "ai_input" => "ai-input", "ai_train" => "ai-train"}

content_signal config keys and the Content-Signal names they emit, in emission order (https://contentsignals.org/).

Constructors

new(user_agent : String)
Source

Instance methods

allow
Source
allow=(allow : Array(String))
Source
content_signal

Emitted (name, value) pairs in CONTENT_SIGNAL_KEYS order; empty means no Content-Signal: line.

Source
content_signal=(content_signal : Array(Tuple(String, Bool)))

Emitted (name, value) pairs in CONTENT_SIGNAL_KEYS order; empty means no Content-Signal: line.

Source
disallow
Source
disallow=(disallow : Array(String))
Source
user_agent
Source
user_agent=(user_agent : String)
Source