WebKit2.Download::decide-destination

connect('decide-destination', function (download, suggested_filename: String, ): Boolean);
  

This signal is emitted after response is received to decide a destination URI for the download. If this signal is not handled the file will be downloaded to %G_USER_DIRECTORY_DOWNLOAD directory using suggested_filename.

download

instance of WebKit2.Download that is emitting the signal

suggested_filename

the filename suggested for the download

Returns

true to stop other handlers from being invoked for the event. false to propagate the event further.