gi-webkit2-4.0.14: WebKit2 bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Objects.ResponsePolicyDecision

Contents

Description

 

Synopsis

Exported types

Methods

getRequest

responsePolicyDecisionGetRequest Source #

Arguments

:: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) 
=> a

decision: a ResponsePolicyDecision

-> m URIRequest

Returns: The URI request that is associated with this policy decision.

Gets the value of the ResponsePolicyDecision:request property.

getResponse

responsePolicyDecisionGetResponse Source #

Arguments

:: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) 
=> a

decision: a ResponsePolicyDecision

-> m URIResponse

Returns: The URI response that is associated with this policy decision.

Gets the value of the ResponsePolicyDecision:response property.

isMimeTypeSupported

responsePolicyDecisionIsMimeTypeSupported Source #

Arguments

:: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) 
=> a

decision: a ResponsePolicyDecision

-> m Bool

Returns: True if the MIME type of the response is supported or False otherwise

Gets whether the MIME type of the response can be displayed in the WebView that triggered this policy decision request. See also webViewCanShowMimeType.

Since: 2.4

Properties

request

response