WebKitWebResource

WebKitWebResource

Functions

Properties

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── WebKitWebResource

Description

Functions

webkit_web_resource_get_uri ()

const gchar *
webkit_web_resource_get_uri (WebKitWebResource *resource);

webkit_web_resource_get_response ()

WebKitURIResponse *
webkit_web_resource_get_response (WebKitWebResource *resource);

webkit_web_resource_get_data ()

void
webkit_web_resource_get_data (WebKitWebResource *resource,
                              GCancellable *cancellable,
                              GAsyncReadyCallback callback,
                              gpointer user_data);

webkit_web_resource_get_data_finish ()

guchar *
webkit_web_resource_get_data_finish (WebKitWebResource *resource,
                                     GAsyncResult *result,
                                     gsize *length,
                                     GError **error);

Types and Values

struct WebKitWebResource

struct WebKitWebResource;

Property Details

The “response” property

  “response”                 WebKitURIResponse *

The response of the resource.

Flags: Read


The “uri” property

  “uri”                      gchar *

The current active URI of the resource.

Flags: Read

Default value: NULL

Signal Details

The “failed” signal

void
user_function (WebKitWebResource *webkitwebresource,
               GError            *arg1,
               gpointer           user_data)

Flags: Run Last


The “failed-with-tls-errors” signal

void
user_function (WebKitWebResource   *webkitwebresource,
               GTlsCertificate     *arg1,
               GTlsCertificateFlags arg2,
               gpointer             user_data)

Flags: Run Last


The “finished” signal

void
user_function (WebKitWebResource *webkitwebresource,
               gpointer           user_data)

Flags: Run Last


The “received-data” signal

void
user_function (WebKitWebResource *webkitwebresource,
               guint64            arg1,
               gpointer           user_data)

Flags: Run Last


The “sent-request” signal

void
user_function (WebKitWebResource *webkitwebresource,
               WebKitURIRequest  *arg1,
               WebKitURIResponse *arg2,
               gpointer           user_data)

Flags: Run Last