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 sealed 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 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