| 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 |
GI.Soup.Interfaces.ProxyURIResolver
Description
- newtype ProxyURIResolver = ProxyURIResolver (ManagedPtr ProxyURIResolver)
- noProxyURIResolver :: Maybe ProxyURIResolver
- class GObject o => IsProxyURIResolver o
- toProxyURIResolver :: IsProxyURIResolver o => o -> IO ProxyURIResolver
- data ProxyURIResolverGetProxyUriAsyncMethodInfo
- proxyURIResolverGetProxyUriAsync :: (HasCallStack, MonadIO m, IsProxyURIResolver a, IsCancellable b) => a -> URI -> Maybe MainContext -> Maybe b -> ProxyURIResolverCallback -> m ()
- data ProxyURIResolverGetProxyUriSyncMethodInfo
- proxyURIResolverGetProxyUriSync :: (HasCallStack, MonadIO m, IsProxyURIResolver a, IsCancellable b) => a -> URI -> Maybe b -> m (Word32, URI)
Exported types
newtype ProxyURIResolver Source #
Constructors
| ProxyURIResolver (ManagedPtr ProxyURIResolver) |
Instances
| GObject ProxyURIResolver Source # | |
| IsObject ProxyURIResolver Source # | |
| IsSessionFeature ProxyURIResolver Source # | |
| IsProxyURIResolver ProxyURIResolver Source # | |
| ((~) * info (ResolveProxyURIResolverMethod t ProxyURIResolver), MethodInfo * info ProxyURIResolver p) => IsLabel t (ProxyURIResolver -> p) Source # | |
| ((~) * info (ResolveProxyURIResolverMethod t ProxyURIResolver), MethodInfo * info ProxyURIResolver p) => IsLabelProxy t (ProxyURIResolver -> p) Source # | |
| HasAttributeList * ProxyURIResolver Source # | |
| type AttributeList ProxyURIResolver Source # | |
| type SignalList ProxyURIResolver Source # | |
class GObject o => IsProxyURIResolver o Source #
toProxyURIResolver :: IsProxyURIResolver o => o -> IO ProxyURIResolver Source #
Methods
getProxyUriAsync
data ProxyURIResolverGetProxyUriAsyncMethodInfo Source #
Instances
| ((~) * signature (URI -> Maybe MainContext -> Maybe b -> ProxyURIResolverCallback -> m ()), MonadIO m, IsProxyURIResolver a, IsCancellable b) => MethodInfo * ProxyURIResolverGetProxyUriAsyncMethodInfo a signature Source # | |
proxyURIResolverGetProxyUriAsync Source #
Arguments
| :: (HasCallStack, MonadIO m, IsProxyURIResolver a, IsCancellable b) | |
| => a |
|
| -> URI |
|
| -> Maybe MainContext |
|
| -> Maybe b |
|
| -> ProxyURIResolverCallback |
|
| -> m () |
Deprecated: ProxyURIResolver is deprecated in favor ofProxyResolver
Asynchronously determines a proxy URI to use for msg and calls
callback.
Since: 2.26.3
getProxyUriSync
data ProxyURIResolverGetProxyUriSyncMethodInfo Source #
Instances
| ((~) * signature (URI -> Maybe b -> m (Word32, URI)), MonadIO m, IsProxyURIResolver a, IsCancellable b) => MethodInfo * ProxyURIResolverGetProxyUriSyncMethodInfo a signature Source # | |
proxyURIResolverGetProxyUriSync Source #
Arguments
| :: (HasCallStack, MonadIO m, IsProxyURIResolver a, IsCancellable b) | |
| => a |
|
| -> URI |
|
| -> Maybe b |
|
| -> m (Word32, URI) | Returns: |
Deprecated: ProxyURIResolver is deprecated in favor ofProxyResolver
Synchronously determines a proxy URI to use for uri. If uri
should be sent via proxy, *proxyUri will be set to the URI of the
proxy, else it will be set to Nothing.
Since: 2.26.3