gi-soup-2.4.7: Libsoup 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.Soup.Objects.Socket

Contents

Description

 

Synopsis

Exported types

newtype Socket Source #

Constructors

Socket (ManagedPtr Socket) 

Instances

GObject Socket Source # 
IsSocket Socket Source # 
IsObject Socket Source # 
IsInitable Socket Source # 
((~) * info (ResolveSocketMethod t Socket), MethodInfo * info Socket p) => IsLabel t (Socket -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Socket -> p #

((~) * info (ResolveSocketMethod t Socket), MethodInfo * info Socket p) => IsLabelProxy t (Socket -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Socket -> p

HasAttributeList * Socket Source # 
type SignalList Socket Source # 
type SignalList Socket
type AttributeList Socket Source # 
type AttributeList Socket

class GObject o => IsSocket o Source #

Instances

(GObject a, UnknownAncestorError Constraint Socket a) => IsSocket a Source # 
IsSocket Socket Source # 

Methods

connectAsync

data SocketConnectAsyncMethodInfo Source #

Instances

((~) * signature (Maybe b -> SocketCallback -> m ()), MonadIO m, IsSocket a, IsCancellable b) => MethodInfo * SocketConnectAsyncMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketConnectAsyncMethodInfo a -> signature -> s

socketConnectAsync :: (MonadIO m, IsSocket a, IsCancellable b) => a -> Maybe b -> SocketCallback -> m () Source #

connectSync

data SocketConnectSyncMethodInfo Source #

Instances

((~) * signature (Maybe b -> m Word32), MonadIO m, IsSocket a, IsCancellable b) => MethodInfo * SocketConnectSyncMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketConnectSyncMethodInfo a -> signature -> s

socketConnectSync :: (MonadIO m, IsSocket a, IsCancellable b) => a -> Maybe b -> m Word32 Source #

disconnect

data SocketDisconnectMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsSocket a) => MethodInfo * SocketDisconnectMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketDisconnectMethodInfo a -> signature -> s

socketDisconnect :: (MonadIO m, IsSocket a) => a -> m () Source #

getFd

data SocketGetFdMethodInfo Source #

Instances

((~) * signature (m Int32), MonadIO m, IsSocket a) => MethodInfo * SocketGetFdMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketGetFdMethodInfo a -> signature -> s

getLocalAddress

data SocketGetLocalAddressMethodInfo Source #

Instances

((~) * signature (m Address), MonadIO m, IsSocket a) => MethodInfo * SocketGetLocalAddressMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketGetLocalAddressMethodInfo a -> signature -> s

getRemoteAddress

data SocketGetRemoteAddressMethodInfo Source #

Instances

((~) * signature (m Address), MonadIO m, IsSocket a) => MethodInfo * SocketGetRemoteAddressMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketGetRemoteAddressMethodInfo a -> signature -> s

isConnected

data SocketIsConnectedMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsSocket a) => MethodInfo * SocketIsConnectedMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketIsConnectedMethodInfo a -> signature -> s

isSsl

data SocketIsSslMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsSocket a) => MethodInfo * SocketIsSslMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketIsSslMethodInfo a -> signature -> s

socketIsSsl :: (MonadIO m, IsSocket a) => a -> m Bool Source #

listen

data SocketListenMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsSocket a) => MethodInfo * SocketListenMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketListenMethodInfo a -> signature -> s

read

data SocketReadMethodInfo Source #

Instances

((~) * signature (ByteString -> Maybe b -> m (SocketIOStatus, Word64)), MonadIO m, IsSocket a, IsCancellable b) => MethodInfo * SocketReadMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketReadMethodInfo a -> signature -> s

socketRead :: (MonadIO m, IsSocket a, IsCancellable b) => a -> ByteString -> Maybe b -> m (SocketIOStatus, Word64) Source #

readUntil

data SocketReadUntilMethodInfo Source #

Instances

((~) * signature (ByteString -> Ptr () -> Word64 -> Bool -> Maybe b -> m (SocketIOStatus, Word64)), MonadIO m, IsSocket a, IsCancellable b) => MethodInfo * SocketReadUntilMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketReadUntilMethodInfo a -> signature -> s

socketReadUntil :: (MonadIO m, IsSocket a, IsCancellable b) => a -> ByteString -> Ptr () -> Word64 -> Bool -> Maybe b -> m (SocketIOStatus, Word64) Source #

startProxySsl

data SocketStartProxySslMethodInfo Source #

Instances

((~) * signature (Text -> Maybe b -> m Bool), MonadIO m, IsSocket a, IsCancellable b) => MethodInfo * SocketStartProxySslMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketStartProxySslMethodInfo a -> signature -> s

socketStartProxySsl :: (MonadIO m, IsSocket a, IsCancellable b) => a -> Text -> Maybe b -> m Bool Source #

startSsl

data SocketStartSslMethodInfo Source #

Instances

((~) * signature (Maybe b -> m Bool), MonadIO m, IsSocket a, IsCancellable b) => MethodInfo * SocketStartSslMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketStartSslMethodInfo a -> signature -> s

socketStartSsl :: (MonadIO m, IsSocket a, IsCancellable b) => a -> Maybe b -> m Bool Source #

write

data SocketWriteMethodInfo Source #

Instances

((~) * signature (ByteString -> Maybe b -> m (SocketIOStatus, Word64)), MonadIO m, IsSocket a, IsCancellable b) => MethodInfo * SocketWriteMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy SocketWriteMethodInfo a -> signature -> s

socketWrite :: (MonadIO m, IsSocket a, IsCancellable b) => a -> ByteString -> Maybe b -> m (SocketIOStatus, Word64) Source #

Properties

asyncContext

data SocketAsyncContextPropertyInfo Source #

Instances

AttrInfo SocketAsyncContextPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketAsyncContextPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketAsyncContextPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketAsyncContextPropertyInfo :: * -> Constraint

type AttrGetType SocketAsyncContextPropertyInfo :: *

type AttrLabel SocketAsyncContextPropertyInfo :: Symbol

type AttrOrigin SocketAsyncContextPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketAsyncContextPropertyInfo o => Proxy * SocketAsyncContextPropertyInfo -> o -> IO (AttrGetType SocketAsyncContextPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketAsyncContextPropertyInfo o, AttrSetTypeConstraint SocketAsyncContextPropertyInfo b) => Proxy * SocketAsyncContextPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketAsyncContextPropertyInfo o => Proxy * SocketAsyncContextPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketAsyncContextPropertyInfo o, AttrSetTypeConstraint SocketAsyncContextPropertyInfo b) => Proxy * SocketAsyncContextPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketAsyncContextPropertyInfo Source # 
type AttrSetTypeConstraint SocketAsyncContextPropertyInfo = * ~ Ptr ()
type AttrOrigin SocketAsyncContextPropertyInfo Source # 
type AttrLabel SocketAsyncContextPropertyInfo Source # 
type AttrLabel SocketAsyncContextPropertyInfo = "async-context"
type AttrGetType SocketAsyncContextPropertyInfo Source # 
type AttrGetType SocketAsyncContextPropertyInfo = Ptr ()
type AttrBaseTypeConstraint SocketAsyncContextPropertyInfo Source # 
type AttrBaseTypeConstraint SocketAsyncContextPropertyInfo = IsSocket
type AttrAllowedOps SocketAsyncContextPropertyInfo Source # 
type AttrAllowedOps SocketAsyncContextPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

constructSocketAsyncContext :: IsSocket o => Ptr () -> IO (GValueConstruct o) Source #

socketAsyncContext :: AttrLabelProxy "asyncContext" Source #

fd

data SocketFdPropertyInfo Source #

Instances

AttrInfo SocketFdPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketFdPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketFdPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketFdPropertyInfo :: * -> Constraint

type AttrGetType SocketFdPropertyInfo :: *

type AttrLabel SocketFdPropertyInfo :: Symbol

type AttrOrigin SocketFdPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketFdPropertyInfo o => Proxy * SocketFdPropertyInfo -> o -> IO (AttrGetType SocketFdPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketFdPropertyInfo o, AttrSetTypeConstraint SocketFdPropertyInfo b) => Proxy * SocketFdPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketFdPropertyInfo o => Proxy * SocketFdPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketFdPropertyInfo o, AttrSetTypeConstraint SocketFdPropertyInfo b) => Proxy * SocketFdPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketFdPropertyInfo Source # 
type AttrSetTypeConstraint SocketFdPropertyInfo = * ~ Int32
type AttrOrigin SocketFdPropertyInfo Source # 
type AttrOrigin SocketFdPropertyInfo = Socket
type AttrLabel SocketFdPropertyInfo Source # 
type AttrLabel SocketFdPropertyInfo = "fd"
type AttrGetType SocketFdPropertyInfo Source # 
type AttrGetType SocketFdPropertyInfo = Int32
type AttrBaseTypeConstraint SocketFdPropertyInfo Source # 
type AttrBaseTypeConstraint SocketFdPropertyInfo = IsSocket
type AttrAllowedOps SocketFdPropertyInfo Source # 
type AttrAllowedOps SocketFdPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

constructSocketFd :: IsSocket o => Int32 -> IO (GValueConstruct o) Source #

socketFd :: AttrLabelProxy "fd" Source #

gsocket

data SocketGsocketPropertyInfo Source #

Instances

AttrInfo SocketGsocketPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketGsocketPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketGsocketPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketGsocketPropertyInfo :: * -> Constraint

type AttrGetType SocketGsocketPropertyInfo :: *

type AttrLabel SocketGsocketPropertyInfo :: Symbol

type AttrOrigin SocketGsocketPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketGsocketPropertyInfo o => Proxy * SocketGsocketPropertyInfo -> o -> IO (AttrGetType SocketGsocketPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketGsocketPropertyInfo o, AttrSetTypeConstraint SocketGsocketPropertyInfo b) => Proxy * SocketGsocketPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketGsocketPropertyInfo o => Proxy * SocketGsocketPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketGsocketPropertyInfo o, AttrSetTypeConstraint SocketGsocketPropertyInfo b) => Proxy * SocketGsocketPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketGsocketPropertyInfo Source # 
type AttrSetTypeConstraint SocketGsocketPropertyInfo = IsSocket
type AttrOrigin SocketGsocketPropertyInfo Source # 
type AttrLabel SocketGsocketPropertyInfo Source # 
type AttrLabel SocketGsocketPropertyInfo = "gsocket"
type AttrGetType SocketGsocketPropertyInfo Source # 
type AttrGetType SocketGsocketPropertyInfo = ()
type AttrBaseTypeConstraint SocketGsocketPropertyInfo Source # 
type AttrBaseTypeConstraint SocketGsocketPropertyInfo = IsSocket
type AttrAllowedOps SocketGsocketPropertyInfo Source # 
type AttrAllowedOps SocketGsocketPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrClear ([] AttrOpTag))

constructSocketGsocket :: (IsSocket o, IsSocket a) => a -> IO (GValueConstruct o) Source #

socketGsocket :: AttrLabelProxy "gsocket" Source #

iostream

data SocketIostreamPropertyInfo Source #

Instances

AttrInfo SocketIostreamPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketIostreamPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketIostreamPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketIostreamPropertyInfo :: * -> Constraint

type AttrGetType SocketIostreamPropertyInfo :: *

type AttrLabel SocketIostreamPropertyInfo :: Symbol

type AttrOrigin SocketIostreamPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketIostreamPropertyInfo o => Proxy * SocketIostreamPropertyInfo -> o -> IO (AttrGetType SocketIostreamPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketIostreamPropertyInfo o, AttrSetTypeConstraint SocketIostreamPropertyInfo b) => Proxy * SocketIostreamPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketIostreamPropertyInfo o => Proxy * SocketIostreamPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketIostreamPropertyInfo o, AttrSetTypeConstraint SocketIostreamPropertyInfo b) => Proxy * SocketIostreamPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketIostreamPropertyInfo Source # 
type AttrSetTypeConstraint SocketIostreamPropertyInfo = IsIOStream
type AttrOrigin SocketIostreamPropertyInfo Source # 
type AttrLabel SocketIostreamPropertyInfo Source # 
type AttrLabel SocketIostreamPropertyInfo = "iostream"
type AttrGetType SocketIostreamPropertyInfo Source # 
type AttrGetType SocketIostreamPropertyInfo = ()
type AttrBaseTypeConstraint SocketIostreamPropertyInfo Source # 
type AttrBaseTypeConstraint SocketIostreamPropertyInfo = IsSocket
type AttrAllowedOps SocketIostreamPropertyInfo Source # 
type AttrAllowedOps SocketIostreamPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrClear ([] AttrOpTag))

constructSocketIostream :: (IsSocket o, IsIOStream a) => a -> IO (GValueConstruct o) Source #

socketIostream :: AttrLabelProxy "iostream" Source #

ipv6Only

data SocketIpv6OnlyPropertyInfo Source #

Instances

AttrInfo SocketIpv6OnlyPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketIpv6OnlyPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketIpv6OnlyPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketIpv6OnlyPropertyInfo :: * -> Constraint

type AttrGetType SocketIpv6OnlyPropertyInfo :: *

type AttrLabel SocketIpv6OnlyPropertyInfo :: Symbol

type AttrOrigin SocketIpv6OnlyPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketIpv6OnlyPropertyInfo o => Proxy * SocketIpv6OnlyPropertyInfo -> o -> IO (AttrGetType SocketIpv6OnlyPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketIpv6OnlyPropertyInfo o, AttrSetTypeConstraint SocketIpv6OnlyPropertyInfo b) => Proxy * SocketIpv6OnlyPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketIpv6OnlyPropertyInfo o => Proxy * SocketIpv6OnlyPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketIpv6OnlyPropertyInfo o, AttrSetTypeConstraint SocketIpv6OnlyPropertyInfo b) => Proxy * SocketIpv6OnlyPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketIpv6OnlyPropertyInfo Source # 
type AttrSetTypeConstraint SocketIpv6OnlyPropertyInfo = * ~ Bool
type AttrOrigin SocketIpv6OnlyPropertyInfo Source # 
type AttrLabel SocketIpv6OnlyPropertyInfo Source # 
type AttrLabel SocketIpv6OnlyPropertyInfo = "ipv6-only"
type AttrGetType SocketIpv6OnlyPropertyInfo Source # 
type AttrGetType SocketIpv6OnlyPropertyInfo = Bool
type AttrBaseTypeConstraint SocketIpv6OnlyPropertyInfo Source # 
type AttrBaseTypeConstraint SocketIpv6OnlyPropertyInfo = IsSocket
type AttrAllowedOps SocketIpv6OnlyPropertyInfo Source # 
type AttrAllowedOps SocketIpv6OnlyPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructSocketIpv6Only :: IsSocket o => Bool -> IO (GValueConstruct o) Source #

setSocketIpv6Only :: (MonadIO m, IsSocket o) => o -> Bool -> m () Source #

socketIpv6Only :: AttrLabelProxy "ipv6Only" Source #

isServer

data SocketIsServerPropertyInfo Source #

Instances

AttrInfo SocketIsServerPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketIsServerPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketIsServerPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketIsServerPropertyInfo :: * -> Constraint

type AttrGetType SocketIsServerPropertyInfo :: *

type AttrLabel SocketIsServerPropertyInfo :: Symbol

type AttrOrigin SocketIsServerPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketIsServerPropertyInfo o => Proxy * SocketIsServerPropertyInfo -> o -> IO (AttrGetType SocketIsServerPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketIsServerPropertyInfo o, AttrSetTypeConstraint SocketIsServerPropertyInfo b) => Proxy * SocketIsServerPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketIsServerPropertyInfo o => Proxy * SocketIsServerPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketIsServerPropertyInfo o, AttrSetTypeConstraint SocketIsServerPropertyInfo b) => Proxy * SocketIsServerPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketIsServerPropertyInfo Source # 
type AttrSetTypeConstraint SocketIsServerPropertyInfo = * ~ ()
type AttrOrigin SocketIsServerPropertyInfo Source # 
type AttrLabel SocketIsServerPropertyInfo Source # 
type AttrLabel SocketIsServerPropertyInfo = "is-server"
type AttrGetType SocketIsServerPropertyInfo Source # 
type AttrGetType SocketIsServerPropertyInfo = Bool
type AttrBaseTypeConstraint SocketIsServerPropertyInfo Source # 
type AttrBaseTypeConstraint SocketIsServerPropertyInfo = IsSocket
type AttrAllowedOps SocketIsServerPropertyInfo Source # 
type AttrAllowedOps SocketIsServerPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag)

socketIsServer :: AttrLabelProxy "isServer" Source #

localAddress

data SocketLocalAddressPropertyInfo Source #

Instances

AttrInfo SocketLocalAddressPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketLocalAddressPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketLocalAddressPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketLocalAddressPropertyInfo :: * -> Constraint

type AttrGetType SocketLocalAddressPropertyInfo :: *

type AttrLabel SocketLocalAddressPropertyInfo :: Symbol

type AttrOrigin SocketLocalAddressPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketLocalAddressPropertyInfo o => Proxy * SocketLocalAddressPropertyInfo -> o -> IO (AttrGetType SocketLocalAddressPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketLocalAddressPropertyInfo o, AttrSetTypeConstraint SocketLocalAddressPropertyInfo b) => Proxy * SocketLocalAddressPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketLocalAddressPropertyInfo o => Proxy * SocketLocalAddressPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketLocalAddressPropertyInfo o, AttrSetTypeConstraint SocketLocalAddressPropertyInfo b) => Proxy * SocketLocalAddressPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketLocalAddressPropertyInfo Source # 
type AttrSetTypeConstraint SocketLocalAddressPropertyInfo = IsAddress
type AttrOrigin SocketLocalAddressPropertyInfo Source # 
type AttrLabel SocketLocalAddressPropertyInfo Source # 
type AttrLabel SocketLocalAddressPropertyInfo = "local-address"
type AttrGetType SocketLocalAddressPropertyInfo Source # 
type AttrBaseTypeConstraint SocketLocalAddressPropertyInfo Source # 
type AttrBaseTypeConstraint SocketLocalAddressPropertyInfo = IsSocket
type AttrAllowedOps SocketLocalAddressPropertyInfo Source # 
type AttrAllowedOps SocketLocalAddressPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructSocketLocalAddress :: (IsSocket o, IsAddress a) => a -> IO (GValueConstruct o) Source #

socketLocalAddress :: AttrLabelProxy "localAddress" Source #

nonBlocking

data SocketNonBlockingPropertyInfo Source #

Instances

AttrInfo SocketNonBlockingPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketNonBlockingPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketNonBlockingPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketNonBlockingPropertyInfo :: * -> Constraint

type AttrGetType SocketNonBlockingPropertyInfo :: *

type AttrLabel SocketNonBlockingPropertyInfo :: Symbol

type AttrOrigin SocketNonBlockingPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketNonBlockingPropertyInfo o => Proxy * SocketNonBlockingPropertyInfo -> o -> IO (AttrGetType SocketNonBlockingPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketNonBlockingPropertyInfo o, AttrSetTypeConstraint SocketNonBlockingPropertyInfo b) => Proxy * SocketNonBlockingPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketNonBlockingPropertyInfo o => Proxy * SocketNonBlockingPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketNonBlockingPropertyInfo o, AttrSetTypeConstraint SocketNonBlockingPropertyInfo b) => Proxy * SocketNonBlockingPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketNonBlockingPropertyInfo Source # 
type AttrSetTypeConstraint SocketNonBlockingPropertyInfo = * ~ Bool
type AttrOrigin SocketNonBlockingPropertyInfo Source # 
type AttrLabel SocketNonBlockingPropertyInfo Source # 
type AttrLabel SocketNonBlockingPropertyInfo = "non-blocking"
type AttrGetType SocketNonBlockingPropertyInfo Source # 
type AttrBaseTypeConstraint SocketNonBlockingPropertyInfo Source # 
type AttrBaseTypeConstraint SocketNonBlockingPropertyInfo = IsSocket
type AttrAllowedOps SocketNonBlockingPropertyInfo Source # 
type AttrAllowedOps SocketNonBlockingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructSocketNonBlocking :: IsSocket o => Bool -> IO (GValueConstruct o) Source #

setSocketNonBlocking :: (MonadIO m, IsSocket o) => o -> Bool -> m () Source #

socketNonBlocking :: AttrLabelProxy "nonBlocking" Source #

remoteAddress

data SocketRemoteAddressPropertyInfo Source #

Instances

AttrInfo SocketRemoteAddressPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketRemoteAddressPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketRemoteAddressPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketRemoteAddressPropertyInfo :: * -> Constraint

type AttrGetType SocketRemoteAddressPropertyInfo :: *

type AttrLabel SocketRemoteAddressPropertyInfo :: Symbol

type AttrOrigin SocketRemoteAddressPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketRemoteAddressPropertyInfo o => Proxy * SocketRemoteAddressPropertyInfo -> o -> IO (AttrGetType SocketRemoteAddressPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketRemoteAddressPropertyInfo o, AttrSetTypeConstraint SocketRemoteAddressPropertyInfo b) => Proxy * SocketRemoteAddressPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketRemoteAddressPropertyInfo o => Proxy * SocketRemoteAddressPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketRemoteAddressPropertyInfo o, AttrSetTypeConstraint SocketRemoteAddressPropertyInfo b) => Proxy * SocketRemoteAddressPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketRemoteAddressPropertyInfo Source # 
type AttrSetTypeConstraint SocketRemoteAddressPropertyInfo = IsAddress
type AttrOrigin SocketRemoteAddressPropertyInfo Source # 
type AttrLabel SocketRemoteAddressPropertyInfo Source # 
type AttrLabel SocketRemoteAddressPropertyInfo = "remote-address"
type AttrGetType SocketRemoteAddressPropertyInfo Source # 
type AttrBaseTypeConstraint SocketRemoteAddressPropertyInfo Source # 
type AttrBaseTypeConstraint SocketRemoteAddressPropertyInfo = IsSocket
type AttrAllowedOps SocketRemoteAddressPropertyInfo Source # 
type AttrAllowedOps SocketRemoteAddressPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructSocketRemoteAddress :: (IsSocket o, IsAddress a) => a -> IO (GValueConstruct o) Source #

socketRemoteAddress :: AttrLabelProxy "remoteAddress" Source #

sslCreds

data SocketSslCredsPropertyInfo Source #

Instances

AttrInfo SocketSslCredsPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketSslCredsPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketSslCredsPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketSslCredsPropertyInfo :: * -> Constraint

type AttrGetType SocketSslCredsPropertyInfo :: *

type AttrLabel SocketSslCredsPropertyInfo :: Symbol

type AttrOrigin SocketSslCredsPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketSslCredsPropertyInfo o => Proxy * SocketSslCredsPropertyInfo -> o -> IO (AttrGetType SocketSslCredsPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketSslCredsPropertyInfo o, AttrSetTypeConstraint SocketSslCredsPropertyInfo b) => Proxy * SocketSslCredsPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketSslCredsPropertyInfo o => Proxy * SocketSslCredsPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketSslCredsPropertyInfo o, AttrSetTypeConstraint SocketSslCredsPropertyInfo b) => Proxy * SocketSslCredsPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketSslCredsPropertyInfo Source # 
type AttrSetTypeConstraint SocketSslCredsPropertyInfo = * ~ Ptr ()
type AttrOrigin SocketSslCredsPropertyInfo Source # 
type AttrLabel SocketSslCredsPropertyInfo Source # 
type AttrLabel SocketSslCredsPropertyInfo = "ssl-creds"
type AttrGetType SocketSslCredsPropertyInfo Source # 
type AttrGetType SocketSslCredsPropertyInfo = Ptr ()
type AttrBaseTypeConstraint SocketSslCredsPropertyInfo Source # 
type AttrBaseTypeConstraint SocketSslCredsPropertyInfo = IsSocket
type AttrAllowedOps SocketSslCredsPropertyInfo Source # 
type AttrAllowedOps SocketSslCredsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructSocketSslCreds :: IsSocket o => Ptr () -> IO (GValueConstruct o) Source #

getSocketSslCreds :: (MonadIO m, IsSocket o) => o -> m (Ptr ()) Source #

setSocketSslCreds :: (MonadIO m, IsSocket o) => o -> Ptr () -> m () Source #

socketSslCreds :: AttrLabelProxy "sslCreds" Source #

sslFallback

data SocketSslFallbackPropertyInfo Source #

Instances

AttrInfo SocketSslFallbackPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketSslFallbackPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketSslFallbackPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketSslFallbackPropertyInfo :: * -> Constraint

type AttrGetType SocketSslFallbackPropertyInfo :: *

type AttrLabel SocketSslFallbackPropertyInfo :: Symbol

type AttrOrigin SocketSslFallbackPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketSslFallbackPropertyInfo o => Proxy * SocketSslFallbackPropertyInfo -> o -> IO (AttrGetType SocketSslFallbackPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketSslFallbackPropertyInfo o, AttrSetTypeConstraint SocketSslFallbackPropertyInfo b) => Proxy * SocketSslFallbackPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketSslFallbackPropertyInfo o => Proxy * SocketSslFallbackPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketSslFallbackPropertyInfo o, AttrSetTypeConstraint SocketSslFallbackPropertyInfo b) => Proxy * SocketSslFallbackPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketSslFallbackPropertyInfo Source # 
type AttrSetTypeConstraint SocketSslFallbackPropertyInfo = * ~ Bool
type AttrOrigin SocketSslFallbackPropertyInfo Source # 
type AttrLabel SocketSslFallbackPropertyInfo Source # 
type AttrLabel SocketSslFallbackPropertyInfo = "ssl-fallback"
type AttrGetType SocketSslFallbackPropertyInfo Source # 
type AttrBaseTypeConstraint SocketSslFallbackPropertyInfo Source # 
type AttrBaseTypeConstraint SocketSslFallbackPropertyInfo = IsSocket
type AttrAllowedOps SocketSslFallbackPropertyInfo Source # 
type AttrAllowedOps SocketSslFallbackPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

constructSocketSslFallback :: IsSocket o => Bool -> IO (GValueConstruct o) Source #

socketSslFallback :: AttrLabelProxy "sslFallback" Source #

sslStrict

data SocketSslStrictPropertyInfo Source #

Instances

AttrInfo SocketSslStrictPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketSslStrictPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketSslStrictPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketSslStrictPropertyInfo :: * -> Constraint

type AttrGetType SocketSslStrictPropertyInfo :: *

type AttrLabel SocketSslStrictPropertyInfo :: Symbol

type AttrOrigin SocketSslStrictPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketSslStrictPropertyInfo o => Proxy * SocketSslStrictPropertyInfo -> o -> IO (AttrGetType SocketSslStrictPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketSslStrictPropertyInfo o, AttrSetTypeConstraint SocketSslStrictPropertyInfo b) => Proxy * SocketSslStrictPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketSslStrictPropertyInfo o => Proxy * SocketSslStrictPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketSslStrictPropertyInfo o, AttrSetTypeConstraint SocketSslStrictPropertyInfo b) => Proxy * SocketSslStrictPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketSslStrictPropertyInfo Source # 
type AttrSetTypeConstraint SocketSslStrictPropertyInfo = * ~ Bool
type AttrOrigin SocketSslStrictPropertyInfo Source # 
type AttrLabel SocketSslStrictPropertyInfo Source # 
type AttrLabel SocketSslStrictPropertyInfo = "ssl-strict"
type AttrGetType SocketSslStrictPropertyInfo Source # 
type AttrBaseTypeConstraint SocketSslStrictPropertyInfo Source # 
type AttrBaseTypeConstraint SocketSslStrictPropertyInfo = IsSocket
type AttrAllowedOps SocketSslStrictPropertyInfo Source # 
type AttrAllowedOps SocketSslStrictPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

constructSocketSslStrict :: IsSocket o => Bool -> IO (GValueConstruct o) Source #

socketSslStrict :: AttrLabelProxy "sslStrict" Source #

timeout

data SocketTimeoutPropertyInfo Source #

Instances

AttrInfo SocketTimeoutPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketTimeoutPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketTimeoutPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketTimeoutPropertyInfo :: * -> Constraint

type AttrGetType SocketTimeoutPropertyInfo :: *

type AttrLabel SocketTimeoutPropertyInfo :: Symbol

type AttrOrigin SocketTimeoutPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketTimeoutPropertyInfo o => Proxy * SocketTimeoutPropertyInfo -> o -> IO (AttrGetType SocketTimeoutPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketTimeoutPropertyInfo o, AttrSetTypeConstraint SocketTimeoutPropertyInfo b) => Proxy * SocketTimeoutPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketTimeoutPropertyInfo o => Proxy * SocketTimeoutPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketTimeoutPropertyInfo o, AttrSetTypeConstraint SocketTimeoutPropertyInfo b) => Proxy * SocketTimeoutPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketTimeoutPropertyInfo Source # 
type AttrSetTypeConstraint SocketTimeoutPropertyInfo = * ~ Word32
type AttrOrigin SocketTimeoutPropertyInfo Source # 
type AttrLabel SocketTimeoutPropertyInfo Source # 
type AttrLabel SocketTimeoutPropertyInfo = "timeout"
type AttrGetType SocketTimeoutPropertyInfo Source # 
type AttrBaseTypeConstraint SocketTimeoutPropertyInfo Source # 
type AttrBaseTypeConstraint SocketTimeoutPropertyInfo = IsSocket
type AttrAllowedOps SocketTimeoutPropertyInfo Source # 
type AttrAllowedOps SocketTimeoutPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructSocketTimeout :: IsSocket o => Word32 -> IO (GValueConstruct o) Source #

setSocketTimeout :: (MonadIO m, IsSocket o) => o -> Word32 -> m () Source #

socketTimeout :: AttrLabelProxy "timeout" Source #

tlsCertificate

data SocketTlsCertificatePropertyInfo Source #

Instances

AttrInfo SocketTlsCertificatePropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketTlsCertificatePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketTlsCertificatePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketTlsCertificatePropertyInfo :: * -> Constraint

type AttrGetType SocketTlsCertificatePropertyInfo :: *

type AttrLabel SocketTlsCertificatePropertyInfo :: Symbol

type AttrOrigin SocketTlsCertificatePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketTlsCertificatePropertyInfo o => Proxy * SocketTlsCertificatePropertyInfo -> o -> IO (AttrGetType SocketTlsCertificatePropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketTlsCertificatePropertyInfo o, AttrSetTypeConstraint SocketTlsCertificatePropertyInfo b) => Proxy * SocketTlsCertificatePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketTlsCertificatePropertyInfo o => Proxy * SocketTlsCertificatePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketTlsCertificatePropertyInfo o, AttrSetTypeConstraint SocketTlsCertificatePropertyInfo b) => Proxy * SocketTlsCertificatePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketTlsCertificatePropertyInfo Source # 
type AttrSetTypeConstraint SocketTlsCertificatePropertyInfo = * ~ ()
type AttrOrigin SocketTlsCertificatePropertyInfo Source # 
type AttrLabel SocketTlsCertificatePropertyInfo Source # 
type AttrLabel SocketTlsCertificatePropertyInfo = "tls-certificate"
type AttrGetType SocketTlsCertificatePropertyInfo Source # 
type AttrGetType SocketTlsCertificatePropertyInfo = Maybe TlsCertificate
type AttrBaseTypeConstraint SocketTlsCertificatePropertyInfo Source # 
type AttrBaseTypeConstraint SocketTlsCertificatePropertyInfo = IsSocket
type AttrAllowedOps SocketTlsCertificatePropertyInfo Source # 
type AttrAllowedOps SocketTlsCertificatePropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))

getSocketTlsCertificate :: (MonadIO m, IsSocket o) => o -> m (Maybe TlsCertificate) Source #

socketTlsCertificate :: AttrLabelProxy "tlsCertificate" Source #

tlsErrors

data SocketTlsErrorsPropertyInfo Source #

Instances

AttrInfo SocketTlsErrorsPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketTlsErrorsPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketTlsErrorsPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketTlsErrorsPropertyInfo :: * -> Constraint

type AttrGetType SocketTlsErrorsPropertyInfo :: *

type AttrLabel SocketTlsErrorsPropertyInfo :: Symbol

type AttrOrigin SocketTlsErrorsPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint SocketTlsErrorsPropertyInfo o => Proxy * SocketTlsErrorsPropertyInfo -> o -> IO (AttrGetType SocketTlsErrorsPropertyInfo)

attrSet :: (AttrBaseTypeConstraint SocketTlsErrorsPropertyInfo o, AttrSetTypeConstraint SocketTlsErrorsPropertyInfo b) => Proxy * SocketTlsErrorsPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint SocketTlsErrorsPropertyInfo o => Proxy * SocketTlsErrorsPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint SocketTlsErrorsPropertyInfo o, AttrSetTypeConstraint SocketTlsErrorsPropertyInfo b) => Proxy * SocketTlsErrorsPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint SocketTlsErrorsPropertyInfo Source # 
type AttrSetTypeConstraint SocketTlsErrorsPropertyInfo = * ~ ()
type AttrOrigin SocketTlsErrorsPropertyInfo Source # 
type AttrLabel SocketTlsErrorsPropertyInfo Source # 
type AttrLabel SocketTlsErrorsPropertyInfo = "tls-errors"
type AttrGetType SocketTlsErrorsPropertyInfo Source # 
type AttrGetType SocketTlsErrorsPropertyInfo = [TlsCertificateFlags]
type AttrBaseTypeConstraint SocketTlsErrorsPropertyInfo Source # 
type AttrBaseTypeConstraint SocketTlsErrorsPropertyInfo = IsSocket
type AttrAllowedOps SocketTlsErrorsPropertyInfo Source # 
type AttrAllowedOps SocketTlsErrorsPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag)

getSocketTlsErrors :: (MonadIO m, IsSocket o) => o -> m [TlsCertificateFlags] Source #

socketTlsErrors :: AttrLabelProxy "tlsErrors" Source #

trustedCertificate

data SocketTrustedCertificatePropertyInfo Source #

Instances

AttrInfo SocketTrustedCertificatePropertyInfo Source # 
type AttrSetTypeConstraint SocketTrustedCertificatePropertyInfo Source # 
type AttrSetTypeConstraint SocketTrustedCertificatePropertyInfo = * ~ ()
type AttrOrigin SocketTrustedCertificatePropertyInfo Source # 
type AttrLabel SocketTrustedCertificatePropertyInfo Source # 
type AttrLabel SocketTrustedCertificatePropertyInfo = "trusted-certificate"
type AttrGetType SocketTrustedCertificatePropertyInfo Source # 
type AttrBaseTypeConstraint SocketTrustedCertificatePropertyInfo Source # 
type AttrBaseTypeConstraint SocketTrustedCertificatePropertyInfo = IsSocket
type AttrAllowedOps SocketTrustedCertificatePropertyInfo Source # 
type AttrAllowedOps SocketTrustedCertificatePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag)

socketTrustedCertificate :: AttrLabelProxy "trustedCertificate" Source #

useThreadContext

data SocketUseThreadContextPropertyInfo Source #

Instances

AttrInfo SocketUseThreadContextPropertyInfo Source # 

Associated Types

type AttrAllowedOps SocketUseThreadContextPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint SocketUseThreadContextPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint SocketUseThreadContextPropertyInfo :: * -> Constraint

type AttrGetType SocketUseThreadContextPropertyInfo :: *

type AttrLabel SocketUseThreadContextPropertyInfo :: Symbol

type AttrOrigin SocketUseThreadContextPropertyInfo :: *

type AttrSetTypeConstraint SocketUseThreadContextPropertyInfo Source # 
type AttrSetTypeConstraint SocketUseThreadContextPropertyInfo = * ~ Bool
type AttrOrigin SocketUseThreadContextPropertyInfo Source # 
type AttrLabel SocketUseThreadContextPropertyInfo Source # 
type AttrLabel SocketUseThreadContextPropertyInfo = "use-thread-context"
type AttrGetType SocketUseThreadContextPropertyInfo Source # 
type AttrBaseTypeConstraint SocketUseThreadContextPropertyInfo Source # 
type AttrBaseTypeConstraint SocketUseThreadContextPropertyInfo = IsSocket
type AttrAllowedOps SocketUseThreadContextPropertyInfo Source # 
type AttrAllowedOps SocketUseThreadContextPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

constructSocketUseThreadContext :: IsSocket o => Bool -> IO (GValueConstruct o) Source #

socketUseThreadContext :: AttrLabelProxy "useThreadContext" Source #

Signals

disconnected

data SocketDisconnectedSignalInfo Source #

Instances

SignalInfo SocketDisconnectedSignalInfo Source # 

Associated Types

type HaskellCallbackType SocketDisconnectedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o SocketDisconnectedSignalInfo -> o -> HaskellCallbackType SocketDisconnectedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType SocketDisconnectedSignalInfo Source # 

afterSocketDisconnected :: (GObject a, MonadIO m) => a -> SocketDisconnectedCallback -> m SignalHandlerId Source #

onSocketDisconnected :: (GObject a, MonadIO m) => a -> SocketDisconnectedCallback -> m SignalHandlerId Source #

event

type C_SocketEventCallback = Ptr () -> CUInt -> Ptr IOStream -> Ptr () -> IO () Source #

type SocketEventCallback = SocketClientEvent -> IOStream -> IO () Source #

data SocketEventSignalInfo Source #

Instances

SignalInfo SocketEventSignalInfo Source # 

Associated Types

type HaskellCallbackType SocketEventSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o SocketEventSignalInfo -> o -> HaskellCallbackType SocketEventSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType SocketEventSignalInfo Source # 
type HaskellCallbackType SocketEventSignalInfo = SocketEventCallback

afterSocketEvent :: (GObject a, MonadIO m) => a -> SocketEventCallback -> m SignalHandlerId Source #

onSocketEvent :: (GObject a, MonadIO m) => a -> SocketEventCallback -> m SignalHandlerId Source #

wrap_SocketEventCallback :: SocketEventCallback -> Ptr () -> CUInt -> Ptr IOStream -> Ptr () -> IO () Source #

newConnection

data SocketNewConnectionSignalInfo Source #

Instances

SignalInfo SocketNewConnectionSignalInfo Source # 

Associated Types

type HaskellCallbackType SocketNewConnectionSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o SocketNewConnectionSignalInfo -> o -> HaskellCallbackType SocketNewConnectionSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType SocketNewConnectionSignalInfo Source # 

afterSocketNewConnection :: (GObject a, MonadIO m) => a -> SocketNewConnectionCallback -> m SignalHandlerId Source #

onSocketNewConnection :: (GObject a, MonadIO m) => a -> SocketNewConnectionCallback -> m SignalHandlerId Source #

readable

type C_SocketReadableCallback = Ptr () -> Ptr () -> IO () Source #

data SocketReadableSignalInfo Source #

Instances

SignalInfo SocketReadableSignalInfo Source # 

Associated Types

type HaskellCallbackType SocketReadableSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o SocketReadableSignalInfo -> o -> HaskellCallbackType SocketReadableSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType SocketReadableSignalInfo Source # 

afterSocketReadable :: (GObject a, MonadIO m) => a -> SocketReadableCallback -> m SignalHandlerId Source #

onSocketReadable :: (GObject a, MonadIO m) => a -> SocketReadableCallback -> m SignalHandlerId Source #

writable

type C_SocketWritableCallback = Ptr () -> Ptr () -> IO () Source #

data SocketWritableSignalInfo Source #

Instances

SignalInfo SocketWritableSignalInfo Source # 

Associated Types

type HaskellCallbackType SocketWritableSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o SocketWritableSignalInfo -> o -> HaskellCallbackType SocketWritableSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType SocketWritableSignalInfo Source # 

afterSocketWritable :: (GObject a, MonadIO m) => a -> SocketWritableCallback -> m SignalHandlerId Source #

onSocketWritable :: (GObject a, MonadIO m) => a -> SocketWritableCallback -> m SignalHandlerId Source #