Download
Object Hierarchy:
Description:
[
CCode ( type_id =
"webkit_download_get_type ()" ) ]
public class Download :
Object
Object used to communicate with the application when downloading.
Download carries information about a download request and response, including a
URIRequest and a URIResponse
objects. The application may use this object to control the download process, or to simply figure out what is to be downloaded, and handle
the download process itself.
Content:
Properties:
Creation methods:
Methods:
Signals:
- public signal void created_destination (string destination)
- public virtual signal bool decide_destination (string suggested_filename)
This signal is emitted after response is received to decide a
destination for the download using set_destination.
- public signal void failed (DownloadError error)
This signal is emitted when an error occurs during the download
operation.
- public signal void finished ()
This signal is emitted when download finishes successfully or due to
an error.
- public signal void received_data (uint64 data_length)
This signal is emitted after response is received, every time new data
has been written to the destination.
Inherited Members:
All known members inherited from class GLib.Object