Scoop API

scoop:scoop.http:0.1.0

PublicSuffixList

class PublicSuffixList

source · line 39
public
public class PublicSuffixList internal constructor(
    private val rules: Map<String, Int>,
        /**
         * The number of parsed suffix rules.
         */
        public val ruleCount: Long,
    /**
     * The version marker supplied by the rule-list text, if present.
     */
    public val version: String?,
        /**
         * The revision marker supplied by the rule-list text, if present.
         */
        public val revision: String?
)

An in-memory public-suffix rule set supporting exact, wildcard, exception, and optional private-section rules. Lookup performs no network update.

property version

source · line 48
public
public val version: String?

get: public read-only

The version marker supplied by the rule-list text, if present.

property ruleCount

source · line 44
public
public val ruleCount: Long

get: public read-only

The number of parsed suffix rules.

property revision

source · line 52
public
public val revision: String?

get: public read-only

The revision marker supplied by the rule-list text, if present.