WebResource
Object Hierarchy:
WebKit.WebResource
WebKit.WebResource
WebKit.WebResource
GLib.Object
GLib.Object
GLib.Object->WebKit.WebResource
Description:
[ CCode ( type_id = "webkit_web_resource_get_type ()" ) ]public class WebResource : Object
Represents a resource at the end of a URI.
A WebResource encapsulates content for each resource at the end of a particular URI. For example, one
WebResource will be created for each separate image and stylesheet when a page is loaded.
You can access the response and the URI for a given WebResource , using
get_uri and
get_response , as well as the raw data, using get_data .
Content:
Properties:
Creation methods:
Methods:
Signals:
public signal void failed (Error error)
This signal is emitted when an error occurs during the resource load
operation.
public signal void failed_with_tls_errors (TlsCertificate certificate, TlsCertificateFlags errors)
This signal is emitted when a TLS error occurs during the resource
load operation.
public signal void finished ()
This signal is emitted when the resource load 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 received.
public signal void sent_request (URIRequest request, URIResponse redirected_response)
This signal is emitted when request
has been sent to the
server.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref