gi-soup-2.4.6: 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.WebsocketConnection

Contents

Description

 

Synopsis

Exported types

newtype WebsocketConnection Source #

Instances

GObject WebsocketConnection Source # 
IsWebsocketConnection WebsocketConnection Source # 
IsObject WebsocketConnection Source # 
((~) * info (ResolveWebsocketConnectionMethod t WebsocketConnection), MethodInfo * info WebsocketConnection p) => IsLabel t (WebsocketConnection -> p) Source # 
((~) * info (ResolveWebsocketConnectionMethod t WebsocketConnection), MethodInfo * info WebsocketConnection p) => IsLabelProxy t (WebsocketConnection -> p) Source # 
HasAttributeList * WebsocketConnection Source # 
type SignalList WebsocketConnection Source # 
type SignalList WebsocketConnection
type AttributeList WebsocketConnection Source # 
type AttributeList WebsocketConnection

Methods

websocketConnectionClose

data WebsocketConnectionCloseMethodInfo Source #

Instances

((~) * signature (Word16 -> Maybe Text -> m ()), MonadIO m, IsWebsocketConnection a) => MethodInfo * WebsocketConnectionCloseMethodInfo a signature Source # 

Methods

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

websocketConnectionGetCloseCode

websocketConnectionGetCloseData

data WebsocketConnectionGetCloseDataMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsWebsocketConnection a) => MethodInfo * WebsocketConnectionGetCloseDataMethodInfo a signature Source # 

Methods

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

websocketConnectionGetConnectionType

websocketConnectionGetIoStream

data WebsocketConnectionGetIoStreamMethodInfo Source #

Instances

((~) * signature (m IOStream), MonadIO m, IsWebsocketConnection a) => MethodInfo * WebsocketConnectionGetIoStreamMethodInfo a signature Source # 

Methods

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

websocketConnectionGetOrigin

data WebsocketConnectionGetOriginMethodInfo Source #

Instances

((~) * signature (m (Maybe Text)), MonadIO m, IsWebsocketConnection a) => MethodInfo * WebsocketConnectionGetOriginMethodInfo a signature Source # 

Methods

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

websocketConnectionGetProtocol

data WebsocketConnectionGetProtocolMethodInfo Source #

Instances

((~) * signature (m (Maybe Text)), MonadIO m, IsWebsocketConnection a) => MethodInfo * WebsocketConnectionGetProtocolMethodInfo a signature Source # 

Methods

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

websocketConnectionGetState

websocketConnectionGetUri

data WebsocketConnectionGetUriMethodInfo Source #

Instances

((~) * signature (m URI), MonadIO m, IsWebsocketConnection a) => MethodInfo * WebsocketConnectionGetUriMethodInfo a signature Source # 

Methods

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

websocketConnectionNew

websocketConnectionNew :: (MonadIO m, IsIOStream a) => a -> URI -> WebsocketConnectionType -> Maybe Text -> Maybe Text -> m WebsocketConnection Source #

websocketConnectionSendBinary

data WebsocketConnectionSendBinaryMethodInfo Source #

Instances

((~) * signature (ByteString -> m ()), MonadIO m, IsWebsocketConnection a) => MethodInfo * WebsocketConnectionSendBinaryMethodInfo a signature Source # 

Methods

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

websocketConnectionSendText

data WebsocketConnectionSendTextMethodInfo Source #

Instances

((~) * signature (Text -> m ()), MonadIO m, IsWebsocketConnection a) => MethodInfo * WebsocketConnectionSendTextMethodInfo a signature Source # 

Methods

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

Properties

ConnectionType

data WebsocketConnectionConnectionTypePropertyInfo Source #

Instances

AttrInfo WebsocketConnectionConnectionTypePropertyInfo Source # 
type AttrSetTypeConstraint WebsocketConnectionConnectionTypePropertyInfo Source # 
type AttrLabel WebsocketConnectionConnectionTypePropertyInfo Source # 
type AttrLabel WebsocketConnectionConnectionTypePropertyInfo = "connection-type"
type AttrGetType WebsocketConnectionConnectionTypePropertyInfo Source # 
type AttrBaseTypeConstraint WebsocketConnectionConnectionTypePropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionConnectionTypePropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionConnectionTypePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

websocketConnectionConnectionType :: AttrLabelProxy "connectionType" Source #

IoStream

data WebsocketConnectionIoStreamPropertyInfo Source #

Instances

AttrInfo WebsocketConnectionIoStreamPropertyInfo Source # 
type AttrSetTypeConstraint WebsocketConnectionIoStreamPropertyInfo Source # 
type AttrSetTypeConstraint WebsocketConnectionIoStreamPropertyInfo = IsIOStream
type AttrLabel WebsocketConnectionIoStreamPropertyInfo Source # 
type AttrLabel WebsocketConnectionIoStreamPropertyInfo = "io-stream"
type AttrGetType WebsocketConnectionIoStreamPropertyInfo Source # 
type AttrGetType WebsocketConnectionIoStreamPropertyInfo = IOStream
type AttrBaseTypeConstraint WebsocketConnectionIoStreamPropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionIoStreamPropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionIoStreamPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructWebsocketConnectionIoStream :: (IsWebsocketConnection o, IsIOStream a) => a -> IO (GValueConstruct o) Source #

websocketConnectionIoStream :: AttrLabelProxy "ioStream" Source #

Origin

data WebsocketConnectionOriginPropertyInfo Source #

Instances

AttrInfo WebsocketConnectionOriginPropertyInfo Source # 
type AttrSetTypeConstraint WebsocketConnectionOriginPropertyInfo Source # 
type AttrSetTypeConstraint WebsocketConnectionOriginPropertyInfo = * ~ Text
type AttrLabel WebsocketConnectionOriginPropertyInfo Source # 
type AttrLabel WebsocketConnectionOriginPropertyInfo = "origin"
type AttrGetType WebsocketConnectionOriginPropertyInfo Source # 
type AttrBaseTypeConstraint WebsocketConnectionOriginPropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionOriginPropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionOriginPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

websocketConnectionOrigin :: AttrLabelProxy "origin" Source #

Protocol

data WebsocketConnectionProtocolPropertyInfo Source #

Instances

AttrInfo WebsocketConnectionProtocolPropertyInfo Source # 
type AttrSetTypeConstraint WebsocketConnectionProtocolPropertyInfo Source # 
type AttrSetTypeConstraint WebsocketConnectionProtocolPropertyInfo = * ~ Text
type AttrLabel WebsocketConnectionProtocolPropertyInfo Source # 
type AttrLabel WebsocketConnectionProtocolPropertyInfo = "protocol"
type AttrGetType WebsocketConnectionProtocolPropertyInfo Source # 
type AttrBaseTypeConstraint WebsocketConnectionProtocolPropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionProtocolPropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionProtocolPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

websocketConnectionProtocol :: AttrLabelProxy "protocol" Source #

State

data WebsocketConnectionStatePropertyInfo Source #

Instances

AttrInfo WebsocketConnectionStatePropertyInfo Source # 
type AttrSetTypeConstraint WebsocketConnectionStatePropertyInfo Source # 
type AttrSetTypeConstraint WebsocketConnectionStatePropertyInfo = * ~ ()
type AttrLabel WebsocketConnectionStatePropertyInfo Source # 
type AttrLabel WebsocketConnectionStatePropertyInfo = "state"
type AttrGetType WebsocketConnectionStatePropertyInfo Source # 
type AttrBaseTypeConstraint WebsocketConnectionStatePropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionStatePropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionStatePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag)

websocketConnectionState :: AttrLabelProxy "state" Source #

Uri

data WebsocketConnectionUriPropertyInfo Source #

Instances

AttrInfo WebsocketConnectionUriPropertyInfo Source # 

Associated Types

type AttrAllowedOps WebsocketConnectionUriPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint WebsocketConnectionUriPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint WebsocketConnectionUriPropertyInfo :: * -> Constraint

type AttrGetType WebsocketConnectionUriPropertyInfo :: *

type AttrLabel WebsocketConnectionUriPropertyInfo :: Symbol

type AttrSetTypeConstraint WebsocketConnectionUriPropertyInfo Source # 
type AttrSetTypeConstraint WebsocketConnectionUriPropertyInfo = * ~ URI
type AttrLabel WebsocketConnectionUriPropertyInfo Source # 
type AttrLabel WebsocketConnectionUriPropertyInfo = "uri"
type AttrGetType WebsocketConnectionUriPropertyInfo Source # 
type AttrBaseTypeConstraint WebsocketConnectionUriPropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionUriPropertyInfo Source # 
type AttrAllowedOps WebsocketConnectionUriPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

websocketConnectionUri :: AttrLabelProxy "uri" Source #

Signals

Closed

data WebsocketConnectionClosedSignalInfo Source #

Instances

SignalInfo WebsocketConnectionClosedSignalInfo Source # 

Associated Types

type HaskellCallbackType WebsocketConnectionClosedSignalInfo :: *

Methods

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

type HaskellCallbackType WebsocketConnectionClosedSignalInfo Source # 

onWebsocketConnectionClosed :: (GObject a, MonadIO m) => a -> WebsocketConnectionClosedCallback -> m SignalHandlerId Source #

Closing

data WebsocketConnectionClosingSignalInfo Source #

Instances

SignalInfo WebsocketConnectionClosingSignalInfo Source # 

Associated Types

type HaskellCallbackType WebsocketConnectionClosingSignalInfo :: *

Methods

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

type HaskellCallbackType WebsocketConnectionClosingSignalInfo Source # 

onWebsocketConnectionClosing :: (GObject a, MonadIO m) => a -> WebsocketConnectionClosingCallback -> m SignalHandlerId Source #

Error

type WebsocketConnectionErrorCallbackC = Ptr () -> Ptr GError -> Ptr () -> IO () Source #

data WebsocketConnectionErrorSignalInfo Source #

Instances

SignalInfo WebsocketConnectionErrorSignalInfo Source # 

Associated Types

type HaskellCallbackType WebsocketConnectionErrorSignalInfo :: *

Methods

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

type HaskellCallbackType WebsocketConnectionErrorSignalInfo Source # 

afterWebsocketConnectionError :: (GObject a, MonadIO m) => a -> WebsocketConnectionErrorCallback -> m SignalHandlerId Source #

onWebsocketConnectionError :: (GObject a, MonadIO m) => a -> WebsocketConnectionErrorCallback -> m SignalHandlerId Source #

Message

type WebsocketConnectionMessageCallbackC = Ptr () -> Int32 -> Ptr Bytes -> Ptr () -> IO () Source #

data WebsocketConnectionMessageSignalInfo Source #

Instances

SignalInfo WebsocketConnectionMessageSignalInfo Source # 

Associated Types

type HaskellCallbackType WebsocketConnectionMessageSignalInfo :: *

Methods

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

type HaskellCallbackType WebsocketConnectionMessageSignalInfo Source # 

onWebsocketConnectionMessage :: (GObject a, MonadIO m) => a -> WebsocketConnectionMessageCallback -> m SignalHandlerId Source #