Interface CurlHstsCacheEntry

interface CurlHstsCacheEntry {
    expire?: null | string;
    host: string;
    includeSubDomains?: boolean;
}

Properties

expire?: null | string

The expiration date for the cache entry as a string in the following format:

'YYYYMMDD HH:MM:SS'

If not set or if null, it will default to a date far away in the future (currently 99991231 23:59:59).

host: string

The host name.

Example: google.com

includeSubDomains?: boolean

If subdomains must be included. If not set, defaults to false.