Header menu logo fable-electron-docs-api

Privileges Type

Constructors

Constructor Description

Privileges(?standard, ?secure, ?bypassCSP, ?allowServiceWorkers, ?supportFetchAPI, ?corsEnabled, ?stream, ?codeCache)

Full Usage: Privileges(?standard, ?secure, ?bypassCSP, ?allowServiceWorkers, ?supportFetchAPI, ?corsEnabled, ?stream, ?codeCache)

Parameters:
    ?standard : bool - Default false.
    ?secure : bool - Default false.
    ?bypassCSP : bool - Default false.
    ?allowServiceWorkers : bool - Default false.
    ?supportFetchAPI : bool - Default false.
    ?corsEnabled : bool - Default false.
    ?stream : bool - Default false.
    ?codeCache : bool - Enable V8 code cache for the scheme, only works when standard is also set to true. Default false.

Returns: Privileges
?standard : bool

Default false.

?secure : bool

Default false.

?bypassCSP : bool

Default false.

?allowServiceWorkers : bool

Default false.

?supportFetchAPI : bool

Default false.

?corsEnabled : bool

Default false.

?stream : bool

Default false.

?codeCache : bool

Enable V8 code cache for the scheme, only works when standard is also set to true. Default false.

Returns: Privileges

Instance members

Instance member Description

this.allowServiceWorkers

Full Usage: this.allowServiceWorkers

Default false.

this.bypassCSP

Full Usage: this.bypassCSP

Default false.

this.codeCache

Full Usage: this.codeCache

Enable V8 code cache for the scheme, only works when standard is also set to true. Default false.

this.corsEnabled

Full Usage: this.corsEnabled

Default false.

this.secure

Full Usage: this.secure

Default false.

this.standard

Full Usage: this.standard

Default false.

this.stream

Full Usage: this.stream

Default false.

this.supportFetchAPI

Full Usage: this.supportFetchAPI

Default false.

Type something to start searching.