Top | Description | Object Hierarchy | Properties |
WebKitResponsePolicyDecisionWebKitResponsePolicyDecision — A policy decision for resource responses |
struct WebKitResponsePolicyDecision; WebKitURIRequest * webkit_response_policy_decision_get_request (WebKitResponsePolicyDecision *decision
); WebKitURIResponse * webkit_response_policy_decision_get_response (WebKitResponsePolicyDecision *decision
);
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.
WebKitURIRequest * webkit_response_policy_decision_get_request
(WebKitResponsePolicyDecision *decision
);
Gets the value of the "request" property.
|
a WebKitResponsePolicyDecision |
Returns : |
The URI request that is associated with this policy decision. [transfer none] |
WebKitURIResponse * webkit_response_policy_decision_get_response
(WebKitResponsePolicyDecision *decision
);
Gets the value of the "response" property.
|
a WebKitResponsePolicyDecision |
Returns : |
The URI response that is associated with this policy decision. [transfer none] |
"request"
property"request" WebKitURIRequest* : Read
This property contains the WebKitURIRequest associated with this policy decision.
"response"
property"response" WebKitURIResponse* : Read
This property contains the WebKitURIResponse associated with this policy decision.