Skip to content

Latest commit

 

History

History
76 lines (35 loc) · 1.25 KB

tough-cookie.getpublicsuffixoptions.md

File metadata and controls

76 lines (35 loc) · 1.25 KB

Home > tough-cookie > GetPublicSuffixOptions

GetPublicSuffixOptions interface

Options for configuring how getPublicSuffix() behaves.

Signature:

export interface GetPublicSuffixOptions 

Properties

Property

Modifiers

Type

Description

allowSpecialUseDomain?

boolean | undefined

(Optional) If set to true then the following Special Use Domains will be treated as if they were valid public suffixes ('local', 'example', 'invalid', 'localhost', 'test').

ignoreError?

boolean | undefined

(Optional) If set to true then any errors that occur while executing getPublicSuffix() will be silently ignored.