WebKitResponsePolicyDecision

WebKitResponsePolicyDecision — A policy decision for resource responses

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── WebKitPolicyDecision
        ╰── WebKitResponsePolicyDecision

Description

WebKitResponsePolicyDecision represents a policy decision for a resource response, whether from the network or the local system. A very common usecase for these types of decision is deciding whether or not to download a particular resource or to load it normally.

Functions

webkit_response_policy_decision_get_request ()

WebKitURIRequest *
webkit_response_policy_decision_get_request
                               (WebKitResponsePolicyDecision *decision);

Gets the value of the “request” property.

Parameters

Returns

The URI request that is associated with this policy decision.

[transfer none]


webkit_response_policy_decision_get_response ()

WebKitURIResponse *
webkit_response_policy_decision_get_response
                               (WebKitResponsePolicyDecision *decision);

Gets the value of the “response” property.

Parameters

Returns

The URI response that is associated with this policy decision.

[transfer none]

Types and Values

struct WebKitResponsePolicyDecision

struct WebKitResponsePolicyDecision;

Property Details

The “request” property

  “request”                  WebKitURIRequest *

This property contains the WebKitURIRequest associated with this policy decision.

Flags: Read


The “response” property

  “response”                 WebKitURIResponse *

This property contains the WebKitURIResponse associated with this policy decision.

Flags: Read

See Also

WebKitPolicyDecision, WebKitWebView