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 |
- newtype ProxyAddress = ProxyAddress (ForeignPtr ProxyAddress)
- class GObject o => ProxyAddressK o
- toProxyAddress :: ProxyAddressK o => o -> IO ProxyAddress
- noProxyAddress :: Maybe ProxyAddress
- proxyAddressGetDestinationHostname :: (MonadIO m, ProxyAddressK a) => a -> m Text
- proxyAddressGetDestinationPort :: (MonadIO m, ProxyAddressK a) => a -> m Word16
- proxyAddressGetDestinationProtocol :: (MonadIO m, ProxyAddressK a) => a -> m Text
- proxyAddressGetPassword :: (MonadIO m, ProxyAddressK a) => a -> m Text
- proxyAddressGetProtocol :: (MonadIO m, ProxyAddressK a) => a -> m Text
- proxyAddressGetUri :: (MonadIO m, ProxyAddressK a) => a -> m Text
- proxyAddressGetUsername :: (MonadIO m, ProxyAddressK a) => a -> m Text
- proxyAddressNew :: (MonadIO m, InetAddressK a) => a -> Word16 -> Text -> Text -> Word16 -> Maybe Text -> Maybe Text -> m ProxyAddress
- data ProxyAddressDestinationHostnamePropertyInfo
- constructProxyAddressDestinationHostname :: Text -> IO ([Char], GValue)
- getProxyAddressDestinationHostname :: (MonadIO m, ProxyAddressK o) => o -> m Text
- data ProxyAddressDestinationPortPropertyInfo
- constructProxyAddressDestinationPort :: Word32 -> IO ([Char], GValue)
- getProxyAddressDestinationPort :: (MonadIO m, ProxyAddressK o) => o -> m Word32
- data ProxyAddressDestinationProtocolPropertyInfo
- constructProxyAddressDestinationProtocol :: Text -> IO ([Char], GValue)
- getProxyAddressDestinationProtocol :: (MonadIO m, ProxyAddressK o) => o -> m Text
- data ProxyAddressPasswordPropertyInfo
- constructProxyAddressPassword :: Text -> IO ([Char], GValue)
- getProxyAddressPassword :: (MonadIO m, ProxyAddressK o) => o -> m Text
- data ProxyAddressProtocolPropertyInfo
- constructProxyAddressProtocol :: Text -> IO ([Char], GValue)
- getProxyAddressProtocol :: (MonadIO m, ProxyAddressK o) => o -> m Text
- data ProxyAddressUriPropertyInfo
- constructProxyAddressUri :: Text -> IO ([Char], GValue)
- getProxyAddressUri :: (MonadIO m, ProxyAddressK o) => o -> m Text
- data ProxyAddressUsernamePropertyInfo
- constructProxyAddressUsername :: Text -> IO ([Char], GValue)
- getProxyAddressUsername :: (MonadIO m, ProxyAddressK o) => o -> m Text
Exported types
newtype ProxyAddress Source
class GObject o => ProxyAddressK o Source
(GObject o, IsDescendantOf ProxyAddress o) => ProxyAddressK o Source |
toProxyAddress :: ProxyAddressK o => o -> IO ProxyAddress Source
Methods
proxyAddressGetDestinationHostname
proxyAddressGetDestinationHostname :: (MonadIO m, ProxyAddressK a) => a -> m Text Source
proxyAddressGetDestinationPort
proxyAddressGetDestinationPort :: (MonadIO m, ProxyAddressK a) => a -> m Word16 Source
proxyAddressGetDestinationProtocol
proxyAddressGetDestinationProtocol :: (MonadIO m, ProxyAddressK a) => a -> m Text Source
proxyAddressGetPassword
proxyAddressGetPassword :: (MonadIO m, ProxyAddressK a) => a -> m Text Source
proxyAddressGetProtocol
proxyAddressGetProtocol :: (MonadIO m, ProxyAddressK a) => a -> m Text Source
proxyAddressGetUri
proxyAddressGetUri :: (MonadIO m, ProxyAddressK a) => a -> m Text Source
proxyAddressGetUsername
proxyAddressGetUsername :: (MonadIO m, ProxyAddressK a) => a -> m Text Source
proxyAddressNew
proxyAddressNew :: (MonadIO m, InetAddressK a) => a -> Word16 -> Text -> Text -> Word16 -> Maybe Text -> Maybe Text -> m ProxyAddress Source
Properties
DestinationHostname
data ProxyAddressDestinationHostnamePropertyInfo Source
AttrInfo ProxyAddressDestinationHostnamePropertyInfo Source | |
type AttrLabel ProxyAddressDestinationHostnamePropertyInfo = "ProxyAddress::destination-hostname" Source | |
type AttrGetType ProxyAddressDestinationHostnamePropertyInfo = Text Source | |
type AttrBaseTypeConstraint ProxyAddressDestinationHostnamePropertyInfo = ProxyAddressK Source | |
type AttrSetTypeConstraint ProxyAddressDestinationHostnamePropertyInfo = * ~ Text Source | |
type AttrAllowedOps ProxyAddressDestinationHostnamePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getProxyAddressDestinationHostname :: (MonadIO m, ProxyAddressK o) => o -> m Text Source
DestinationPort
data ProxyAddressDestinationPortPropertyInfo Source
AttrInfo ProxyAddressDestinationPortPropertyInfo Source | |
type AttrLabel ProxyAddressDestinationPortPropertyInfo = "ProxyAddress::destination-port" Source | |
type AttrGetType ProxyAddressDestinationPortPropertyInfo = Word32 Source | |
type AttrBaseTypeConstraint ProxyAddressDestinationPortPropertyInfo = ProxyAddressK Source | |
type AttrSetTypeConstraint ProxyAddressDestinationPortPropertyInfo = * ~ Word32 Source | |
type AttrAllowedOps ProxyAddressDestinationPortPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getProxyAddressDestinationPort :: (MonadIO m, ProxyAddressK o) => o -> m Word32 Source
DestinationProtocol
data ProxyAddressDestinationProtocolPropertyInfo Source
AttrInfo ProxyAddressDestinationProtocolPropertyInfo Source | |
type AttrLabel ProxyAddressDestinationProtocolPropertyInfo = "ProxyAddress::destination-protocol" Source | |
type AttrGetType ProxyAddressDestinationProtocolPropertyInfo = Text Source | |
type AttrBaseTypeConstraint ProxyAddressDestinationProtocolPropertyInfo = ProxyAddressK Source | |
type AttrSetTypeConstraint ProxyAddressDestinationProtocolPropertyInfo = * ~ Text Source | |
type AttrAllowedOps ProxyAddressDestinationProtocolPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getProxyAddressDestinationProtocol :: (MonadIO m, ProxyAddressK o) => o -> m Text Source
Password
data ProxyAddressPasswordPropertyInfo Source
AttrInfo ProxyAddressPasswordPropertyInfo Source | |
type AttrLabel ProxyAddressPasswordPropertyInfo = "ProxyAddress::password" Source | |
type AttrGetType ProxyAddressPasswordPropertyInfo = Text Source | |
type AttrBaseTypeConstraint ProxyAddressPasswordPropertyInfo = ProxyAddressK Source | |
type AttrSetTypeConstraint ProxyAddressPasswordPropertyInfo = * ~ Text Source | |
type AttrAllowedOps ProxyAddressPasswordPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getProxyAddressPassword :: (MonadIO m, ProxyAddressK o) => o -> m Text Source
Protocol
data ProxyAddressProtocolPropertyInfo Source
AttrInfo ProxyAddressProtocolPropertyInfo Source | |
type AttrLabel ProxyAddressProtocolPropertyInfo = "ProxyAddress::protocol" Source | |
type AttrGetType ProxyAddressProtocolPropertyInfo = Text Source | |
type AttrBaseTypeConstraint ProxyAddressProtocolPropertyInfo = ProxyAddressK Source | |
type AttrSetTypeConstraint ProxyAddressProtocolPropertyInfo = * ~ Text Source | |
type AttrAllowedOps ProxyAddressProtocolPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getProxyAddressProtocol :: (MonadIO m, ProxyAddressK o) => o -> m Text Source
Uri
data ProxyAddressUriPropertyInfo Source
AttrInfo ProxyAddressUriPropertyInfo Source | |
type AttrLabel ProxyAddressUriPropertyInfo = "ProxyAddress::uri" Source | |
type AttrGetType ProxyAddressUriPropertyInfo = Text Source | |
type AttrBaseTypeConstraint ProxyAddressUriPropertyInfo = ProxyAddressK Source | |
type AttrSetTypeConstraint ProxyAddressUriPropertyInfo = * ~ Text Source | |
type AttrAllowedOps ProxyAddressUriPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getProxyAddressUri :: (MonadIO m, ProxyAddressK o) => o -> m Text Source
Username
data ProxyAddressUsernamePropertyInfo Source
AttrInfo ProxyAddressUsernamePropertyInfo Source | |
type AttrLabel ProxyAddressUsernamePropertyInfo = "ProxyAddress::username" Source | |
type AttrGetType ProxyAddressUsernamePropertyInfo = Text Source | |
type AttrBaseTypeConstraint ProxyAddressUsernamePropertyInfo = ProxyAddressK Source | |
type AttrSetTypeConstraint ProxyAddressUsernamePropertyInfo = * ~ Text Source | |
type AttrAllowedOps ProxyAddressUsernamePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
getProxyAddressUsername :: (MonadIO m, ProxyAddressK o) => o -> m Text Source