Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
- newtype ResponsePolicyDecision = ResponsePolicyDecision (ManagedPtr ResponsePolicyDecision)
- class GObject o => IsResponsePolicyDecision o
- toResponsePolicyDecision :: (MonadIO m, IsResponsePolicyDecision o) => o -> m ResponsePolicyDecision
- noResponsePolicyDecision :: Maybe ResponsePolicyDecision
- responsePolicyDecisionGetRequest :: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) => a -> m URIRequest
- responsePolicyDecisionGetResponse :: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) => a -> m URIResponse
- responsePolicyDecisionIsMimeTypeSupported :: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) => a -> m Bool
- getResponsePolicyDecisionRequest :: (MonadIO m, IsResponsePolicyDecision o) => o -> m URIRequest
- getResponsePolicyDecisionResponse :: (MonadIO m, IsResponsePolicyDecision o) => o -> m URIResponse
Exported types
newtype ResponsePolicyDecision Source #
Memory-managed wrapper type.
class GObject o => IsResponsePolicyDecision o Source #
Type class for types which can be safely cast to ResponsePolicyDecision
, for instance with toResponsePolicyDecision
.
toResponsePolicyDecision :: (MonadIO m, IsResponsePolicyDecision o) => o -> m ResponsePolicyDecision Source #
Cast to ResponsePolicyDecision
, for types for which this is known to be safe. For general casts, use castTo
.
noResponsePolicyDecision :: Maybe ResponsePolicyDecision Source #
A convenience alias for Nothing
:: Maybe
ResponsePolicyDecision
.
Methods
getRequest
responsePolicyDecisionGetRequest Source #
:: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) | |
=> a |
|
-> m URIRequest | Returns: The URI request that is associated with this policy decision. |
Gets the value of the ResponsePolicyDecision
:request
property.
getResponse
responsePolicyDecisionGetResponse Source #
:: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) | |
=> a |
|
-> m URIResponse | Returns: The URI response that is associated with this policy decision. |
Gets the value of the ResponsePolicyDecision
:response
property.
isMimeTypeSupported
responsePolicyDecisionIsMimeTypeSupported Source #
:: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) | |
=> a |
|
-> m Bool | Returns: |
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
This property contains the URIRequest
associated with this
policy decision.
getResponsePolicyDecisionRequest :: (MonadIO m, IsResponsePolicyDecision o) => o -> m URIRequest Source #
Get the value of the “request
” property.
When overloading is enabled, this is equivalent to
get
responsePolicyDecision #request
response
This property contains the URIResponse
associated with this
policy decision.
getResponsePolicyDecisionResponse :: (MonadIO m, IsResponsePolicyDecision o) => o -> m URIResponse Source #
Get the value of the “response
” property.
When overloading is enabled, this is equivalent to
get
responsePolicyDecision #response