GObject.Object
WebKit.WebResource
| Import line: | WebKit = imports.gi.WebKit; |
| GIR File: | WebKit-3.0.gir |
| C documentation: | WebKitWebResource |
| Class : | WebResource |
| Extends: | GObject.Object |
| Properties | Defined By | |
|---|---|---|
|
encoding : String
read only
The encoding name to which the web resource was encoded in.
The encoding name to which the web resource was encoded in.
|
WebKit.WebResource | |
|
frame_name : String
read only
The frame name for the web resource.
The frame name for the web resource.
|
WebKit.WebResource | |
|
mime_type : String
read only
The MIME type of the web resource.
The MIME type of the web resource.
|
WebKit.WebResource | |
|
parent_instance : GObject.Object
read only
|
WebKit.WebResource | |
|
priv : WebKit.WebResourcePrivate
read only
|
WebKit.WebResource | |
|
uri : String
The URI of the web resource
The URI of the web resource
|
WebKit.WebResource | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new WebKit.WebResource
(Object properties)
Create a new WebKit.WebResource
Create a new WebKit.WebResource
|
||
|
new WebKit.WebResource.c_new
(String data, gint32 size, String uri, String mime_type, String encoding, String frame_name)
:
WebKit.WebResource
Create a new WebKit.WebResource
Create a new WebKit.WebResource
|
||
|
get_data
()
:
GLib.String
Returns the data of the webResource.
Returns the data of the webResource.
data of the webResource. The string is owned by WebKit and should not be freed or destroyed.
|
WebKit.WebResource | |
|
get_encoding
()
:
String
|
WebKit.WebResource | |
|
get_frame_name
()
:
String
|
WebKit.WebResource | |
|
get_mime_type
()
:
String
|
WebKit.WebResource | |
|
get_uri
()
:
String
|
WebKit.WebResource | |
| None |
| Class / Namespace | Method / Signal / Properties |
|---|---|
|
WebKit.WebDataSource
Method |
get_main_resource
()
:
WebKit.WebResource
Returns the main resource of the data_source
representing the main resource of the data_source. |
|
WebKit.WebView
Signal |
resource_request_starting
(WebView self, WebFrame web_frame, WebResource web_resource, NetworkRequest request, NetworkResponse response)
:
none
Emitted when a request is about to be sent.
|