Defines initialisation options specific for the windows platform
public var cachePath:String
See also
public var commandLineArgKeys:Array
public var commandLineArgValues:Array
public var persistSessionCookies:Boolean = false
See also
public var remoteDebuggingPort:int = -1
See also
public function WindowsOptions()
public function addCommandLineArg(name:String, value:String):WindowsOptions
Add a command line argument for configuring the underlying browser process
For example, to disable the underlying mDNS:
options.addCommandLineArg( "disable-features", "WebRtcHideLocalIpsWithMdns" );
Parameters
Returns public function setCachePath(path:String):WindowsOptions
The location where cache data will be stored on disk.
If empty then browsers will be created in "incognito mode" where in-memory caches are used for
storage and no data is persisted to disk.
HTML5 databases such as localStorage will only persist across sessions if a cache path is specified.
The default is set to a folder in the File.applicationStorageDirectory
Parameters
| path:String — The native path to a directory to use for cache data
|
Returns public function setPersistSessionCookies(persistSessionCookies:Boolean):WindowsOptions
To persist session cookies (cookies without an expiry date or validity interval) by default when
using the global cookie manager set this value to true
.
Session cookies are generally intended to be transient and most Web browsers do not persist them.
A cachePath
value must also be specified to enable this feature.
Parameters
| persistSessionCookies:Boolean |
Returns public function setRemoteDebuggingPort(remoteDebuggingPort:int):WindowsOptions
Set to a value between 1024 and 65535 to enable remote debugging on the specified port.
For example, if 8080 is specified the remote debugging URL will be http://localhost:8080.
CEF can be remotely debugged from any CEF or Chrome browser window.
Parameters
Returns
Thu Dec 19 2024, 01:42 PM +10:00