Scoop API

scoop:scoop.http:0.1.0

PublicSuffixMatch

class PublicSuffixMatch

source · line 12
public
public class PublicSuffixMatch internal constructor(
    /**
     * The normalized ASCII domain without a trailing dot.
     */
    public val domain: String,
        /**
         * The effective public suffix selected by the rule set.
         */
        public val publicSuffix: String,
        /**
         * The public suffix plus one preceding label, or None if no such label exists.
         */
        public val registrableDomain: String?,
    /**
     * The selected exact, wildcard, or exception rule, when explicitly present.
     */
    public val rule: String?,
        /**
         * Whether the selected rule came from the private section.
         */
        public val isPrivate: Boolean
)

The normalized domain, effective public suffix, optional registrable domain, and matched rule metadata.

property registrableDomain

source · line 24
public
public val registrableDomain: String?

get: public read-only

The public suffix plus one preceding label, or None if no such label exists.

property isPrivate

source · line 32
public
public val isPrivate: Boolean

get: public read-only

Whether the selected rule came from the private section.

property domain

source · line 16
public
public val domain: String

get: public read-only

The normalized ASCII domain without a trailing dot.

property publicSuffix

source · line 20
public
public val publicSuffix: String

get: public read-only

The effective public suffix selected by the rule set.

property rule

source · line 28
public
public val rule: String?

get: public read-only

The selected exact, wildcard, or exception rule, when explicitly present.