Creates a new #WebKitNetworkSession with a persistent #WebKitWebsiteDataManager. The parameters data_directory and cache_directory will be used as construct properties of the #WebKitWebsiteDataManager of the network session. Note that if null is passed, the default directory will be passed to #WebKitWebsiteDataManager so that webkit.website_data_manager.WebsiteDataManager.getBaseDataDirectory and webkit.website_data_manager.WebsiteDataManager.getBaseCacheDirectory always return a value for non ephemeral sessions.
It must be passed as construct parameter of a #WebKitWebView.
a base directory for data, or null
a base directory for caches, or null
the newly created #WebKitNetworkSession
Creates a new #WebKitNetworkSession with a persistent #WebKitWebsiteDataManager. The parameters data_directory and cache_directory will be used as construct properties of the #WebKitWebsiteDataManager of the network session. Note that if null is passed, the default directory will be passed to #WebKitWebsiteDataManager so that webkit.website_data_manager.WebsiteDataManager.getBaseDataDirectory and webkit.website_data_manager.WebsiteDataManager.getBaseCacheDirectory always return a value for non ephemeral sessions.
It must be passed as construct parameter of a #WebKitWebView.