Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(?dataTypes, ?origins, ?excludeOrigins, ?avoidClosingConnections, ?originMatchingMode)

Full Usage: Options(?dataTypes, ?origins, ?excludeOrigins, ?avoidClosingConnections, ?originMatchingMode)

Parameters:
    ?dataTypes : DataTypes[] - The types of data to clear. By default, this will clear all types of data. This can potentially include data types not explicitly listed here. (See Chromium's BrowsingDataRemover for the full list.)
    ?origins : string[] - Clear data for only these origins. Cannot be used with excludeOrigins.
    ?excludeOrigins : string[] - Clear data for all origins except these ones. Cannot be used with origins.
    ?avoidClosingConnections : bool - Skips deleting cookies that would close current network connections. (Default: false)
    ?originMatchingMode : OriginMatchingMode - The behavior for matching data to origins.

Returns: Options
?dataTypes : DataTypes[]

The types of data to clear. By default, this will clear all types of data. This can potentially include data types not explicitly listed here. (See Chromium's BrowsingDataRemover for the full list.)

?origins : string[]

Clear data for only these origins. Cannot be used with excludeOrigins.

?excludeOrigins : string[]

Clear data for all origins except these ones. Cannot be used with origins.

?avoidClosingConnections : bool

Skips deleting cookies that would close current network connections. (Default: false)

?originMatchingMode : OriginMatchingMode

The behavior for matching data to origins.

Returns: Options

Instance members

Instance member Description

this.avoidClosingConnections

Full Usage: this.avoidClosingConnections

Skips deleting cookies that would close current network connections. (Default: false)

this.dataTypes

Full Usage: this.dataTypes

The types of data to clear. By default, this will clear all types of data. This can potentially include data types not explicitly listed here. (See Chromium's BrowsingDataRemover for the full list.)

this.excludeOrigins

Full Usage: this.excludeOrigins

Clear data for all origins except these ones. Cannot be used with origins.

this.originMatchingMode

Full Usage: this.originMatchingMode

The behavior for matching data to origins.

this.origins

Full Usage: this.origins

Clear data for only these origins. Cannot be used with excludeOrigins.

Type something to start searching.