Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.Gio.Objects.ProxyAddress
Description
A InetSocketAddress
representing a connection via a proxy server.
Since: 2.26
Synopsis
- newtype ProxyAddress = ProxyAddress (ManagedPtr ProxyAddress)
- class (GObject o, IsDescendantOf ProxyAddress o) => IsProxyAddress o
- toProxyAddress :: (MonadIO m, IsProxyAddress o) => o -> m ProxyAddress
- type family ResolveProxyAddressMethod (t :: Symbol) o where ...
- data ProxyAddressGetDestinationHostnameMethodInfo
- proxyAddressGetDestinationHostname :: (HasCallStack, MonadIO m, IsProxyAddress a) => a -> m Text
- data ProxyAddressGetDestinationPortMethodInfo
- proxyAddressGetDestinationPort :: (HasCallStack, MonadIO m, IsProxyAddress a) => a -> m Word16
- data ProxyAddressGetDestinationProtocolMethodInfo
- proxyAddressGetDestinationProtocol :: (HasCallStack, MonadIO m, IsProxyAddress a) => a -> m Text
- data ProxyAddressGetPasswordMethodInfo
- proxyAddressGetPassword :: (HasCallStack, MonadIO m, IsProxyAddress a) => a -> m (Maybe Text)
- data ProxyAddressGetProtocolMethodInfo
- proxyAddressGetProtocol :: (HasCallStack, MonadIO m, IsProxyAddress a) => a -> m Text
- data ProxyAddressGetUriMethodInfo
- proxyAddressGetUri :: (HasCallStack, MonadIO m, IsProxyAddress a) => a -> m (Maybe Text)
- data ProxyAddressGetUsernameMethodInfo
- proxyAddressGetUsername :: (HasCallStack, MonadIO m, IsProxyAddress a) => a -> m (Maybe Text)
- proxyAddressNew :: (HasCallStack, MonadIO m, IsInetAddress a) => a -> Word16 -> Text -> Text -> Word16 -> Maybe Text -> Maybe Text -> m ProxyAddress
- data ProxyAddressDestinationHostnamePropertyInfo
- constructProxyAddressDestinationHostname :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o)
- getProxyAddressDestinationHostname :: (MonadIO m, IsProxyAddress o) => o -> m Text
- proxyAddressDestinationHostname :: AttrLabelProxy "destinationHostname"
- data ProxyAddressDestinationPortPropertyInfo
- constructProxyAddressDestinationPort :: (IsProxyAddress o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getProxyAddressDestinationPort :: (MonadIO m, IsProxyAddress o) => o -> m Word32
- proxyAddressDestinationPort :: AttrLabelProxy "destinationPort"
- data ProxyAddressDestinationProtocolPropertyInfo
- constructProxyAddressDestinationProtocol :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o)
- getProxyAddressDestinationProtocol :: (MonadIO m, IsProxyAddress o) => o -> m Text
- proxyAddressDestinationProtocol :: AttrLabelProxy "destinationProtocol"
- data ProxyAddressPasswordPropertyInfo
- constructProxyAddressPassword :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o)
- getProxyAddressPassword :: (MonadIO m, IsProxyAddress o) => o -> m (Maybe Text)
- proxyAddressPassword :: AttrLabelProxy "password"
- data ProxyAddressProtocolPropertyInfo
- constructProxyAddressProtocol :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o)
- getProxyAddressProtocol :: (MonadIO m, IsProxyAddress o) => o -> m Text
- proxyAddressProtocol :: AttrLabelProxy "protocol"
- data ProxyAddressUriPropertyInfo
- constructProxyAddressUri :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o)
- getProxyAddressUri :: (MonadIO m, IsProxyAddress o) => o -> m (Maybe Text)
- proxyAddressUri :: AttrLabelProxy "uri"
- data ProxyAddressUsernamePropertyInfo
- constructProxyAddressUsername :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o)
- getProxyAddressUsername :: (MonadIO m, IsProxyAddress o) => o -> m (Maybe Text)
- proxyAddressUsername :: AttrLabelProxy "username"
Exported types
newtype ProxyAddress Source #
Memory-managed wrapper type.
Constructors
ProxyAddress (ManagedPtr ProxyAddress) |
Instances
class (GObject o, IsDescendantOf ProxyAddress o) => IsProxyAddress o Source #
Type class for types which can be safely cast to ProxyAddress
, for instance with toProxyAddress
.
Instances
(GObject o, IsDescendantOf ProxyAddress o) => IsProxyAddress o Source # | |
Defined in GI.Gio.Objects.ProxyAddress |
toProxyAddress :: (MonadIO m, IsProxyAddress o) => o -> m ProxyAddress Source #
Cast to ProxyAddress
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, enumerate, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, proxyEnumerate, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toNative, toString, unref, watchClosure.
Getters
getAddress, getData, getDestinationHostname, getDestinationPort, getDestinationProtocol, getFamily, getFlowinfo, getNativeSize, getPassword, getPort, getProperty, getProtocol, getQdata, getScopeId, getUri, getUsername.
Setters
type family ResolveProxyAddressMethod (t :: Symbol) o where ... Source #
Equations
getDestinationHostname
data ProxyAddressGetDestinationHostnameMethodInfo Source #
Instances
(signature ~ m Text, MonadIO m, IsProxyAddress a) => OverloadedMethod ProxyAddressGetDestinationHostnameMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ProxyAddressGetDestinationHostnameMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods |
proxyAddressGetDestinationHostname Source #
Arguments
:: (HasCallStack, MonadIO m, IsProxyAddress a) | |
=> a |
|
-> m Text | Returns: the |
Gets proxy
's destination hostname; that is, the name of the host
that will be connected to via the proxy, not the name of the proxy
itself.
Since: 2.26
getDestinationPort
data ProxyAddressGetDestinationPortMethodInfo Source #
Instances
(signature ~ m Word16, MonadIO m, IsProxyAddress a) => OverloadedMethod ProxyAddressGetDestinationPortMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ProxyAddressGetDestinationPortMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods |
proxyAddressGetDestinationPort Source #
Arguments
:: (HasCallStack, MonadIO m, IsProxyAddress a) | |
=> a |
|
-> m Word16 | Returns: the |
Gets proxy
's destination port; that is, the port on the
destination host that will be connected to via the proxy, not the
port number of the proxy itself.
Since: 2.26
getDestinationProtocol
data ProxyAddressGetDestinationProtocolMethodInfo Source #
Instances
(signature ~ m Text, MonadIO m, IsProxyAddress a) => OverloadedMethod ProxyAddressGetDestinationProtocolMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ProxyAddressGetDestinationProtocolMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods |
proxyAddressGetDestinationProtocol Source #
Arguments
:: (HasCallStack, MonadIO m, IsProxyAddress a) | |
=> a |
|
-> m Text | Returns: the |
Gets the protocol that is being spoken to the destination server; eg, "http" or "ftp".
Since: 2.34
getPassword
data ProxyAddressGetPasswordMethodInfo Source #
Instances
(signature ~ m (Maybe Text), MonadIO m, IsProxyAddress a) => OverloadedMethod ProxyAddressGetPasswordMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ProxyAddressGetPasswordMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods |
proxyAddressGetPassword Source #
Arguments
:: (HasCallStack, MonadIO m, IsProxyAddress a) | |
=> a |
|
-> m (Maybe Text) | Returns: the |
Gets proxy
's password.
Since: 2.26
getProtocol
data ProxyAddressGetProtocolMethodInfo Source #
Instances
(signature ~ m Text, MonadIO m, IsProxyAddress a) => OverloadedMethod ProxyAddressGetProtocolMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ProxyAddressGetProtocolMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods |
proxyAddressGetProtocol Source #
Arguments
:: (HasCallStack, MonadIO m, IsProxyAddress a) | |
=> a |
|
-> m Text | Returns: the |
Gets proxy
's protocol. eg, "socks" or "http"
Since: 2.26
getUri
data ProxyAddressGetUriMethodInfo Source #
Instances
(signature ~ m (Maybe Text), MonadIO m, IsProxyAddress a) => OverloadedMethod ProxyAddressGetUriMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ProxyAddressGetUriMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods |
Arguments
:: (HasCallStack, MonadIO m, IsProxyAddress a) | |
=> a |
|
-> m (Maybe Text) | Returns: the |
Gets the proxy URI that proxy
was constructed from.
Since: 2.34
getUsername
data ProxyAddressGetUsernameMethodInfo Source #
Instances
(signature ~ m (Maybe Text), MonadIO m, IsProxyAddress a) => OverloadedMethod ProxyAddressGetUsernameMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ProxyAddressGetUsernameMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.ProxyAddress Methods |
proxyAddressGetUsername Source #
Arguments
:: (HasCallStack, MonadIO m, IsProxyAddress a) | |
=> a |
|
-> m (Maybe Text) | Returns: the |
Gets proxy
's username.
Since: 2.26
new
Arguments
:: (HasCallStack, MonadIO m, IsInetAddress a) | |
=> a |
|
-> Word16 |
|
-> Text |
|
-> Text |
|
-> Word16 |
|
-> Maybe Text |
|
-> Maybe Text |
|
-> m ProxyAddress | Returns: a new |
Creates a new ProxyAddress
for inetaddr
with protocol
that should
tunnel through destHostname
and destPort
.
(Note that this method doesn't set the ProxyAddress:uri or
ProxyAddress:destinationProtocol fields; use g_object_new()
directly if you want to set those.)
Since: 2.26
Properties
destinationHostname
The proxy destination hostname.
Since: 2.26
data ProxyAddressDestinationHostnamePropertyInfo Source #
Instances
constructProxyAddressDestinationHostname :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “destination-hostname
” property. This is rarely needed directly, but it is used by new
.
getProxyAddressDestinationHostname :: (MonadIO m, IsProxyAddress o) => o -> m Text Source #
Get the value of the “destination-hostname
” property.
When overloading is enabled, this is equivalent to
get
proxyAddress #destinationHostname
proxyAddressDestinationHostname :: AttrLabelProxy "destinationHostname" Source #
destinationPort
The proxy destination port.
Since: 2.26
data ProxyAddressDestinationPortPropertyInfo Source #
Instances
AttrInfo ProxyAddressDestinationPortPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress Associated Types
Methods attrGet :: AttrBaseTypeConstraint ProxyAddressDestinationPortPropertyInfo o => o -> IO (AttrGetType ProxyAddressDestinationPortPropertyInfo) # attrSet :: (AttrBaseTypeConstraint ProxyAddressDestinationPortPropertyInfo o, AttrSetTypeConstraint ProxyAddressDestinationPortPropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint ProxyAddressDestinationPortPropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint ProxyAddressDestinationPortPropertyInfo o, AttrSetTypeConstraint ProxyAddressDestinationPortPropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint ProxyAddressDestinationPortPropertyInfo o, AttrTransferTypeConstraint ProxyAddressDestinationPortPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType ProxyAddressDestinationPortPropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps ProxyAddressDestinationPortPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint ProxyAddressDestinationPortPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType ProxyAddressDestinationPortPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrLabel ProxyAddressDestinationPortPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrOrigin ProxyAddressDestinationPortPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint ProxyAddressDestinationPortPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferType ProxyAddressDestinationPortPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint ProxyAddressDestinationPortPropertyInfo Source # | |||||||||||||||||||||||||||||||||
constructProxyAddressDestinationPort :: (IsProxyAddress o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “destination-port
” property. This is rarely needed directly, but it is used by new
.
getProxyAddressDestinationPort :: (MonadIO m, IsProxyAddress o) => o -> m Word32 Source #
Get the value of the “destination-port
” property.
When overloading is enabled, this is equivalent to
get
proxyAddress #destinationPort
proxyAddressDestinationPort :: AttrLabelProxy "destinationPort" Source #
destinationProtocol
The protocol being spoke to the destination host, or Nothing
if
the ProxyAddress
doesn't know.
Since: 2.34
data ProxyAddressDestinationProtocolPropertyInfo Source #
Instances
AttrInfo ProxyAddressDestinationProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress Associated Types
Methods attrGet :: AttrBaseTypeConstraint ProxyAddressDestinationProtocolPropertyInfo o => o -> IO (AttrGetType ProxyAddressDestinationProtocolPropertyInfo) # attrSet :: (AttrBaseTypeConstraint ProxyAddressDestinationProtocolPropertyInfo o, AttrSetTypeConstraint ProxyAddressDestinationProtocolPropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint ProxyAddressDestinationProtocolPropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint ProxyAddressDestinationProtocolPropertyInfo o, AttrSetTypeConstraint ProxyAddressDestinationProtocolPropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint ProxyAddressDestinationProtocolPropertyInfo o, AttrTransferTypeConstraint ProxyAddressDestinationProtocolPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType ProxyAddressDestinationProtocolPropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps ProxyAddressDestinationProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint ProxyAddressDestinationProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType ProxyAddressDestinationProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrLabel ProxyAddressDestinationProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrOrigin ProxyAddressDestinationProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint ProxyAddressDestinationProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferType ProxyAddressDestinationProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint ProxyAddressDestinationProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
constructProxyAddressDestinationProtocol :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “destination-protocol
” property. This is rarely needed directly, but it is used by new
.
getProxyAddressDestinationProtocol :: (MonadIO m, IsProxyAddress o) => o -> m Text Source #
Get the value of the “destination-protocol
” property.
When overloading is enabled, this is equivalent to
get
proxyAddress #destinationProtocol
proxyAddressDestinationProtocol :: AttrLabelProxy "destinationProtocol" Source #
password
The proxy password.
Since: 2.26
data ProxyAddressPasswordPropertyInfo Source #
Instances
AttrInfo ProxyAddressPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress Associated Types
Methods attrGet :: AttrBaseTypeConstraint ProxyAddressPasswordPropertyInfo o => o -> IO (AttrGetType ProxyAddressPasswordPropertyInfo) # attrSet :: (AttrBaseTypeConstraint ProxyAddressPasswordPropertyInfo o, AttrSetTypeConstraint ProxyAddressPasswordPropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint ProxyAddressPasswordPropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint ProxyAddressPasswordPropertyInfo o, AttrSetTypeConstraint ProxyAddressPasswordPropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint ProxyAddressPasswordPropertyInfo o, AttrTransferTypeConstraint ProxyAddressPasswordPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType ProxyAddressPasswordPropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps ProxyAddressPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint ProxyAddressPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType ProxyAddressPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrLabel ProxyAddressPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrOrigin ProxyAddressPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint ProxyAddressPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrTransferType ProxyAddressPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint ProxyAddressPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
constructProxyAddressPassword :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “password
” property. This is rarely needed directly, but it is used by new
.
getProxyAddressPassword :: (MonadIO m, IsProxyAddress o) => o -> m (Maybe Text) Source #
Get the value of the “password
” property.
When overloading is enabled, this is equivalent to
get
proxyAddress #password
proxyAddressPassword :: AttrLabelProxy "password" Source #
protocol
The proxy protocol.
Since: 2.26
data ProxyAddressProtocolPropertyInfo Source #
Instances
AttrInfo ProxyAddressProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress Associated Types
Methods attrGet :: AttrBaseTypeConstraint ProxyAddressProtocolPropertyInfo o => o -> IO (AttrGetType ProxyAddressProtocolPropertyInfo) # attrSet :: (AttrBaseTypeConstraint ProxyAddressProtocolPropertyInfo o, AttrSetTypeConstraint ProxyAddressProtocolPropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint ProxyAddressProtocolPropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint ProxyAddressProtocolPropertyInfo o, AttrSetTypeConstraint ProxyAddressProtocolPropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint ProxyAddressProtocolPropertyInfo o, AttrTransferTypeConstraint ProxyAddressProtocolPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType ProxyAddressProtocolPropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps ProxyAddressProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint ProxyAddressProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType ProxyAddressProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrLabel ProxyAddressProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrOrigin ProxyAddressProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint ProxyAddressProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrTransferType ProxyAddressProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint ProxyAddressProtocolPropertyInfo Source # | |||||||||||||||||||||||||||||||||
constructProxyAddressProtocol :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “protocol
” property. This is rarely needed directly, but it is used by new
.
getProxyAddressProtocol :: (MonadIO m, IsProxyAddress o) => o -> m Text Source #
Get the value of the “protocol
” property.
When overloading is enabled, this is equivalent to
get
proxyAddress #protocol
proxyAddressProtocol :: AttrLabelProxy "protocol" Source #
uri
The URI string that the proxy was constructed from (or Nothing
if the creator didn't specify this).
Since: 2.34
data ProxyAddressUriPropertyInfo Source #
Instances
AttrInfo ProxyAddressUriPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress Associated Types
Methods attrGet :: AttrBaseTypeConstraint ProxyAddressUriPropertyInfo o => o -> IO (AttrGetType ProxyAddressUriPropertyInfo) # attrSet :: (AttrBaseTypeConstraint ProxyAddressUriPropertyInfo o, AttrSetTypeConstraint ProxyAddressUriPropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint ProxyAddressUriPropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint ProxyAddressUriPropertyInfo o, AttrSetTypeConstraint ProxyAddressUriPropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint ProxyAddressUriPropertyInfo o, AttrTransferTypeConstraint ProxyAddressUriPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType ProxyAddressUriPropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps ProxyAddressUriPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint ProxyAddressUriPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType ProxyAddressUriPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrLabel ProxyAddressUriPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrOrigin ProxyAddressUriPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint ProxyAddressUriPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrTransferType ProxyAddressUriPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint ProxyAddressUriPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress |
constructProxyAddressUri :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “uri
” property. This is rarely needed directly, but it is used by new
.
getProxyAddressUri :: (MonadIO m, IsProxyAddress o) => o -> m (Maybe Text) Source #
Get the value of the “uri
” property.
When overloading is enabled, this is equivalent to
get
proxyAddress #uri
proxyAddressUri :: AttrLabelProxy "uri" Source #
username
The proxy username.
Since: 2.26
data ProxyAddressUsernamePropertyInfo Source #
Instances
AttrInfo ProxyAddressUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress Associated Types
Methods attrGet :: AttrBaseTypeConstraint ProxyAddressUsernamePropertyInfo o => o -> IO (AttrGetType ProxyAddressUsernamePropertyInfo) # attrSet :: (AttrBaseTypeConstraint ProxyAddressUsernamePropertyInfo o, AttrSetTypeConstraint ProxyAddressUsernamePropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint ProxyAddressUsernamePropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint ProxyAddressUsernamePropertyInfo o, AttrSetTypeConstraint ProxyAddressUsernamePropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint ProxyAddressUsernamePropertyInfo o, AttrTransferTypeConstraint ProxyAddressUsernamePropertyInfo b) => Proxy o -> b -> IO (AttrTransferType ProxyAddressUsernamePropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps ProxyAddressUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint ProxyAddressUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType ProxyAddressUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrLabel ProxyAddressUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrOrigin ProxyAddressUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint ProxyAddressUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrTransferType ProxyAddressUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.ProxyAddress | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint ProxyAddressUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
constructProxyAddressUsername :: (IsProxyAddress o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “username
” property. This is rarely needed directly, but it is used by new
.
getProxyAddressUsername :: (MonadIO m, IsProxyAddress o) => o -> m (Maybe Text) Source #
Get the value of the “username
” property.
When overloading is enabled, this is equivalent to
get
proxyAddress #username
proxyAddressUsername :: AttrLabelProxy "username" Source #