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 |
- Exported types
- Methods
- sessionAbort
- sessionAddFeature
- sessionAddFeatureByType
- sessionCancelMessage
- sessionGetAsyncContext
- sessionGetFeature
- sessionGetFeatureForMessage
- sessionGetFeatures
- sessionHasFeature
- sessionNew
- sessionPauseMessage
- sessionPrefetchDns
- sessionPrepareForUri
- sessionQueueMessage
- sessionRedirectMessage
- sessionRemoveFeature
- sessionRemoveFeatureByType
- sessionRequest
- sessionRequestHttp
- sessionRequestHttpUri
- sessionRequestUri
- sessionRequeueMessage
- sessionSend
- sessionSendAsync
- sessionSendFinish
- sessionSendMessage
- sessionStealConnection
- sessionUnpauseMessage
- sessionWebsocketConnectAsync
- sessionWebsocketConnectFinish
- sessionWouldRedirect
- Properties
- Signals
- newtype Session = Session (ForeignPtr Session)
- class GObject o => SessionK o
- toSession :: SessionK o => o -> IO Session
- noSession :: Maybe Session
- data SessionAbortMethodInfo
- sessionAbort :: (MonadIO m, SessionK a) => a -> m ()
- data SessionAddFeatureMethodInfo
- sessionAddFeature :: (MonadIO m, SessionK a, SessionFeatureK b) => a -> b -> m ()
- data SessionAddFeatureByTypeMethodInfo
- sessionAddFeatureByType :: (MonadIO m, SessionK a) => a -> GType -> m ()
- data SessionCancelMessageMethodInfo
- sessionCancelMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> Word32 -> m ()
- data SessionGetAsyncContextMethodInfo
- sessionGetAsyncContext :: (MonadIO m, SessionK a) => a -> m (Maybe MainContext)
- data SessionGetFeatureMethodInfo
- sessionGetFeature :: (MonadIO m, SessionK a) => a -> GType -> m (Maybe SessionFeature)
- data SessionGetFeatureForMessageMethodInfo
- sessionGetFeatureForMessage :: (MonadIO m, SessionK a, MessageK b) => a -> GType -> b -> m (Maybe SessionFeature)
- data SessionGetFeaturesMethodInfo
- sessionGetFeatures :: (MonadIO m, SessionK a) => a -> GType -> m [SessionFeature]
- data SessionHasFeatureMethodInfo
- sessionHasFeature :: (MonadIO m, SessionK a) => a -> GType -> m Bool
- sessionNew :: MonadIO m => m Session
- data SessionPauseMessageMethodInfo
- sessionPauseMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m ()
- data SessionPrefetchDnsMethodInfo
- sessionPrefetchDns :: (MonadIO m, SessionK a, CancellableK b) => a -> Text -> Maybe b -> Maybe AddressCallback -> m ()
- data SessionPrepareForUriMethodInfo
- sessionPrepareForUri :: (MonadIO m, SessionK a) => a -> URI -> m ()
- data SessionQueueMessageMethodInfo
- sessionQueueMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> Maybe SessionCallback -> m ()
- data SessionRedirectMessageMethodInfo
- sessionRedirectMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m Bool
- data SessionRemoveFeatureMethodInfo
- sessionRemoveFeature :: (MonadIO m, SessionK a, SessionFeatureK b) => a -> b -> m ()
- data SessionRemoveFeatureByTypeMethodInfo
- sessionRemoveFeatureByType :: (MonadIO m, SessionK a) => a -> GType -> m ()
- data SessionRequestMethodInfo
- sessionRequest :: (MonadIO m, SessionK a) => a -> Text -> m Request
- data SessionRequestHttpMethodInfo
- sessionRequestHttp :: (MonadIO m, SessionK a) => a -> Text -> Text -> m RequestHTTP
- data SessionRequestHttpUriMethodInfo
- sessionRequestHttpUri :: (MonadIO m, SessionK a) => a -> Text -> URI -> m RequestHTTP
- data SessionRequestUriMethodInfo
- sessionRequestUri :: (MonadIO m, SessionK a) => a -> URI -> m Request
- data SessionRequeueMessageMethodInfo
- sessionRequeueMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m ()
- data SessionSendMethodInfo
- sessionSend :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe c -> m InputStream
- data SessionSendAsyncMethodInfo
- sessionSendAsync :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- data SessionSendFinishMethodInfo
- sessionSendFinish :: (MonadIO m, SessionK a, AsyncResultK b) => a -> b -> m InputStream
- data SessionSendMessageMethodInfo
- sessionSendMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m Word32
- data SessionStealConnectionMethodInfo
- sessionStealConnection :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m IOStream
- data SessionUnpauseMessageMethodInfo
- sessionUnpauseMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m ()
- data SessionWebsocketConnectAsyncMethodInfo
- sessionWebsocketConnectAsync :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe Text -> Maybe [Text] -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- data SessionWebsocketConnectFinishMethodInfo
- sessionWebsocketConnectFinish :: (MonadIO m, SessionK a, AsyncResultK b) => a -> b -> m WebsocketConnection
- data SessionWouldRedirectMethodInfo
- sessionWouldRedirect :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m Bool
- data SessionAcceptLanguagePropertyInfo
- clearSessionAcceptLanguage :: (MonadIO m, SessionK o) => o -> m ()
- constructSessionAcceptLanguage :: Text -> IO ([Char], GValue)
- getSessionAcceptLanguage :: (MonadIO m, SessionK o) => o -> m (Maybe Text)
- sessionAcceptLanguage :: AttrLabelProxy "acceptLanguage"
- setSessionAcceptLanguage :: (MonadIO m, SessionK o) => o -> Text -> m ()
- data SessionAcceptLanguageAutoPropertyInfo
- constructSessionAcceptLanguageAuto :: Bool -> IO ([Char], GValue)
- getSessionAcceptLanguageAuto :: (MonadIO m, SessionK o) => o -> m Bool
- sessionAcceptLanguageAuto :: AttrLabelProxy "acceptLanguageAuto"
- setSessionAcceptLanguageAuto :: (MonadIO m, SessionK o) => o -> Bool -> m ()
- data SessionAsyncContextPropertyInfo
- constructSessionAsyncContext :: Ptr () -> IO ([Char], GValue)
- getSessionAsyncContext :: (MonadIO m, SessionK o) => o -> m (Ptr ())
- sessionAsyncContext :: AttrLabelProxy "asyncContext"
- data SessionHttpAliasesPropertyInfo
- clearSessionHttpAliases :: (MonadIO m, SessionK o) => o -> m ()
- constructSessionHttpAliases :: [Text] -> IO ([Char], GValue)
- getSessionHttpAliases :: (MonadIO m, SessionK o) => o -> m (Maybe [Text])
- sessionHttpAliases :: AttrLabelProxy "httpAliases"
- setSessionHttpAliases :: (MonadIO m, SessionK o) => o -> [Text] -> m ()
- data SessionHttpsAliasesPropertyInfo
- clearSessionHttpsAliases :: (MonadIO m, SessionK o) => o -> m ()
- constructSessionHttpsAliases :: [Text] -> IO ([Char], GValue)
- getSessionHttpsAliases :: (MonadIO m, SessionK o) => o -> m (Maybe [Text])
- sessionHttpsAliases :: AttrLabelProxy "httpsAliases"
- setSessionHttpsAliases :: (MonadIO m, SessionK o) => o -> [Text] -> m ()
- data SessionIdleTimeoutPropertyInfo
- constructSessionIdleTimeout :: Word32 -> IO ([Char], GValue)
- getSessionIdleTimeout :: (MonadIO m, SessionK o) => o -> m Word32
- sessionIdleTimeout :: AttrLabelProxy "idleTimeout"
- setSessionIdleTimeout :: (MonadIO m, SessionK o) => o -> Word32 -> m ()
- data SessionLocalAddressPropertyInfo
- constructSessionLocalAddress :: AddressK a => a -> IO ([Char], GValue)
- getSessionLocalAddress :: (MonadIO m, SessionK o) => o -> m (Maybe Address)
- sessionLocalAddress :: AttrLabelProxy "localAddress"
- data SessionMaxConnsPropertyInfo
- constructSessionMaxConns :: Int32 -> IO ([Char], GValue)
- getSessionMaxConns :: (MonadIO m, SessionK o) => o -> m Int32
- sessionMaxConns :: AttrLabelProxy "maxConns"
- setSessionMaxConns :: (MonadIO m, SessionK o) => o -> Int32 -> m ()
- data SessionMaxConnsPerHostPropertyInfo
- constructSessionMaxConnsPerHost :: Int32 -> IO ([Char], GValue)
- getSessionMaxConnsPerHost :: (MonadIO m, SessionK o) => o -> m Int32
- sessionMaxConnsPerHost :: AttrLabelProxy "maxConnsPerHost"
- setSessionMaxConnsPerHost :: (MonadIO m, SessionK o) => o -> Int32 -> m ()
- data SessionProxyResolverPropertyInfo
- clearSessionProxyResolver :: (MonadIO m, SessionK o) => o -> m ()
- constructSessionProxyResolver :: ProxyResolverK a => a -> IO ([Char], GValue)
- getSessionProxyResolver :: (MonadIO m, SessionK o) => o -> m (Maybe ProxyResolver)
- sessionProxyResolver :: AttrLabelProxy "proxyResolver"
- setSessionProxyResolver :: (MonadIO m, SessionK o, ProxyResolverK a) => o -> a -> m ()
- data SessionProxyUriPropertyInfo
- clearSessionProxyUri :: (MonadIO m, SessionK o) => o -> m ()
- constructSessionProxyUri :: URI -> IO ([Char], GValue)
- getSessionProxyUri :: (MonadIO m, SessionK o) => o -> m (Maybe URI)
- sessionProxyUri :: AttrLabelProxy "proxyUri"
- setSessionProxyUri :: (MonadIO m, SessionK o) => o -> URI -> m ()
- data SessionSslCaFilePropertyInfo
- clearSessionSslCaFile :: (MonadIO m, SessionK o) => o -> m ()
- constructSessionSslCaFile :: Text -> IO ([Char], GValue)
- getSessionSslCaFile :: (MonadIO m, SessionK o) => o -> m (Maybe Text)
- sessionSslCaFile :: AttrLabelProxy "sslCaFile"
- setSessionSslCaFile :: (MonadIO m, SessionK o) => o -> Text -> m ()
- data SessionSslStrictPropertyInfo
- constructSessionSslStrict :: Bool -> IO ([Char], GValue)
- getSessionSslStrict :: (MonadIO m, SessionK o) => o -> m Bool
- sessionSslStrict :: AttrLabelProxy "sslStrict"
- setSessionSslStrict :: (MonadIO m, SessionK o) => o -> Bool -> m ()
- data SessionSslUseSystemCaFilePropertyInfo
- constructSessionSslUseSystemCaFile :: Bool -> IO ([Char], GValue)
- getSessionSslUseSystemCaFile :: (MonadIO m, SessionK o) => o -> m Bool
- sessionSslUseSystemCaFile :: AttrLabelProxy "sslUseSystemCaFile"
- setSessionSslUseSystemCaFile :: (MonadIO m, SessionK o) => o -> Bool -> m ()
- data SessionTimeoutPropertyInfo
- constructSessionTimeout :: Word32 -> IO ([Char], GValue)
- getSessionTimeout :: (MonadIO m, SessionK o) => o -> m Word32
- sessionTimeout :: AttrLabelProxy "timeout"
- setSessionTimeout :: (MonadIO m, SessionK o) => o -> Word32 -> m ()
- data SessionTlsDatabasePropertyInfo
- clearSessionTlsDatabase :: (MonadIO m, SessionK o) => o -> m ()
- constructSessionTlsDatabase :: TlsDatabaseK a => a -> IO ([Char], GValue)
- getSessionTlsDatabase :: (MonadIO m, SessionK o) => o -> m (Maybe TlsDatabase)
- sessionTlsDatabase :: AttrLabelProxy "tlsDatabase"
- setSessionTlsDatabase :: (MonadIO m, SessionK o, TlsDatabaseK a) => o -> a -> m ()
- data SessionTlsInteractionPropertyInfo
- clearSessionTlsInteraction :: (MonadIO m, SessionK o) => o -> m ()
- constructSessionTlsInteraction :: TlsInteractionK a => a -> IO ([Char], GValue)
- getSessionTlsInteraction :: (MonadIO m, SessionK o) => o -> m (Maybe TlsInteraction)
- sessionTlsInteraction :: AttrLabelProxy "tlsInteraction"
- setSessionTlsInteraction :: (MonadIO m, SessionK o, TlsInteractionK a) => o -> a -> m ()
- data SessionUseNtlmPropertyInfo
- constructSessionUseNtlm :: Bool -> IO ([Char], GValue)
- getSessionUseNtlm :: (MonadIO m, SessionK o) => o -> m Bool
- sessionUseNtlm :: AttrLabelProxy "useNtlm"
- setSessionUseNtlm :: (MonadIO m, SessionK o) => o -> Bool -> m ()
- data SessionUseThreadContextPropertyInfo
- constructSessionUseThreadContext :: Bool -> IO ([Char], GValue)
- getSessionUseThreadContext :: (MonadIO m, SessionK o) => o -> m Bool
- sessionUseThreadContext :: AttrLabelProxy "useThreadContext"
- setSessionUseThreadContext :: (MonadIO m, SessionK o) => o -> Bool -> m ()
- data SessionUserAgentPropertyInfo
- clearSessionUserAgent :: (MonadIO m, SessionK o) => o -> m ()
- constructSessionUserAgent :: Text -> IO ([Char], GValue)
- getSessionUserAgent :: (MonadIO m, SessionK o) => o -> m (Maybe Text)
- sessionUserAgent :: AttrLabelProxy "userAgent"
- setSessionUserAgent :: (MonadIO m, SessionK o) => o -> Text -> m ()
- type SessionAuthenticateCallback = Message -> Auth -> Bool -> IO ()
- type SessionAuthenticateCallbackC = Ptr () -> Ptr Message -> Ptr Auth -> CInt -> Ptr () -> IO ()
- data SessionAuthenticateSignalInfo
- afterSessionAuthenticate :: (GObject a, MonadIO m) => a -> SessionAuthenticateCallback -> m SignalHandlerId
- mkSessionAuthenticateCallback :: SessionAuthenticateCallbackC -> IO (FunPtr SessionAuthenticateCallbackC)
- noSessionAuthenticateCallback :: Maybe SessionAuthenticateCallback
- onSessionAuthenticate :: (GObject a, MonadIO m) => a -> SessionAuthenticateCallback -> m SignalHandlerId
- sessionAuthenticateCallbackWrapper :: SessionAuthenticateCallback -> Ptr () -> Ptr Message -> Ptr Auth -> CInt -> Ptr () -> IO ()
- sessionAuthenticateClosure :: SessionAuthenticateCallback -> IO Closure
- type SessionConnectionCreatedCallback = Object -> IO ()
- type SessionConnectionCreatedCallbackC = Ptr () -> Ptr Object -> Ptr () -> IO ()
- data SessionConnectionCreatedSignalInfo
- afterSessionConnectionCreated :: (GObject a, MonadIO m) => a -> SessionConnectionCreatedCallback -> m SignalHandlerId
- mkSessionConnectionCreatedCallback :: SessionConnectionCreatedCallbackC -> IO (FunPtr SessionConnectionCreatedCallbackC)
- noSessionConnectionCreatedCallback :: Maybe SessionConnectionCreatedCallback
- onSessionConnectionCreated :: (GObject a, MonadIO m) => a -> SessionConnectionCreatedCallback -> m SignalHandlerId
- sessionConnectionCreatedCallbackWrapper :: SessionConnectionCreatedCallback -> Ptr () -> Ptr Object -> Ptr () -> IO ()
- sessionConnectionCreatedClosure :: SessionConnectionCreatedCallback -> IO Closure
- type SessionRequestQueuedCallback = Message -> IO ()
- type SessionRequestQueuedCallbackC = Ptr () -> Ptr Message -> Ptr () -> IO ()
- data SessionRequestQueuedSignalInfo
- afterSessionRequestQueued :: (GObject a, MonadIO m) => a -> SessionRequestQueuedCallback -> m SignalHandlerId
- mkSessionRequestQueuedCallback :: SessionRequestQueuedCallbackC -> IO (FunPtr SessionRequestQueuedCallbackC)
- noSessionRequestQueuedCallback :: Maybe SessionRequestQueuedCallback
- onSessionRequestQueued :: (GObject a, MonadIO m) => a -> SessionRequestQueuedCallback -> m SignalHandlerId
- sessionRequestQueuedCallbackWrapper :: SessionRequestQueuedCallback -> Ptr () -> Ptr Message -> Ptr () -> IO ()
- sessionRequestQueuedClosure :: SessionRequestQueuedCallback -> IO Closure
- type SessionRequestStartedCallback = Message -> Socket -> IO ()
- type SessionRequestStartedCallbackC = Ptr () -> Ptr Message -> Ptr Socket -> Ptr () -> IO ()
- data SessionRequestStartedSignalInfo
- afterSessionRequestStarted :: (GObject a, MonadIO m) => a -> SessionRequestStartedCallback -> m SignalHandlerId
- mkSessionRequestStartedCallback :: SessionRequestStartedCallbackC -> IO (FunPtr SessionRequestStartedCallbackC)
- noSessionRequestStartedCallback :: Maybe SessionRequestStartedCallback
- onSessionRequestStarted :: (GObject a, MonadIO m) => a -> SessionRequestStartedCallback -> m SignalHandlerId
- sessionRequestStartedCallbackWrapper :: SessionRequestStartedCallback -> Ptr () -> Ptr Message -> Ptr Socket -> Ptr () -> IO ()
- sessionRequestStartedClosure :: SessionRequestStartedCallback -> IO Closure
- type SessionRequestUnqueuedCallback = Message -> IO ()
- type SessionRequestUnqueuedCallbackC = Ptr () -> Ptr Message -> Ptr () -> IO ()
- data SessionRequestUnqueuedSignalInfo
- afterSessionRequestUnqueued :: (GObject a, MonadIO m) => a -> SessionRequestUnqueuedCallback -> m SignalHandlerId
- mkSessionRequestUnqueuedCallback :: SessionRequestUnqueuedCallbackC -> IO (FunPtr SessionRequestUnqueuedCallbackC)
- noSessionRequestUnqueuedCallback :: Maybe SessionRequestUnqueuedCallback
- onSessionRequestUnqueued :: (GObject a, MonadIO m) => a -> SessionRequestUnqueuedCallback -> m SignalHandlerId
- sessionRequestUnqueuedCallbackWrapper :: SessionRequestUnqueuedCallback -> Ptr () -> Ptr Message -> Ptr () -> IO ()
- sessionRequestUnqueuedClosure :: SessionRequestUnqueuedCallback -> IO Closure
- type SessionTunnelingCallback = Object -> IO ()
- type SessionTunnelingCallbackC = Ptr () -> Ptr Object -> Ptr () -> IO ()
- data SessionTunnelingSignalInfo
- afterSessionTunneling :: (GObject a, MonadIO m) => a -> SessionTunnelingCallback -> m SignalHandlerId
- mkSessionTunnelingCallback :: SessionTunnelingCallbackC -> IO (FunPtr SessionTunnelingCallbackC)
- noSessionTunnelingCallback :: Maybe SessionTunnelingCallback
- onSessionTunneling :: (GObject a, MonadIO m) => a -> SessionTunnelingCallback -> m SignalHandlerId
- sessionTunnelingCallbackWrapper :: SessionTunnelingCallback -> Ptr () -> Ptr Object -> Ptr () -> IO ()
- sessionTunnelingClosure :: SessionTunnelingCallback -> IO Closure
Exported types
GObject Session | |
((~) * info (ResolveSessionMethod t Session), MethodInfo * info Session p) => IsLabelProxy t (Session -> p) | |
type ParentTypes Session | |
type AttributeList Session | |
type SignalList Session |
Methods
sessionAbort
data SessionAbortMethodInfo Source
((~) * signature (m ()), MonadIO m, SessionK a) => MethodInfo * SessionAbortMethodInfo a signature |
sessionAbort :: (MonadIO m, SessionK a) => a -> m () Source
sessionAddFeature
data SessionAddFeatureMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, SessionK a, SessionFeatureK b) => MethodInfo * SessionAddFeatureMethodInfo a signature |
sessionAddFeature :: (MonadIO m, SessionK a, SessionFeatureK b) => a -> b -> m () Source
sessionAddFeatureByType
data SessionAddFeatureByTypeMethodInfo Source
((~) * signature (GType -> m ()), MonadIO m, SessionK a) => MethodInfo * SessionAddFeatureByTypeMethodInfo a signature |
sessionAddFeatureByType :: (MonadIO m, SessionK a) => a -> GType -> m () Source
sessionCancelMessage
data SessionCancelMessageMethodInfo Source
((~) * signature (b -> Word32 -> m ()), MonadIO m, SessionK a, MessageK b) => MethodInfo * SessionCancelMessageMethodInfo a signature |
sessionGetAsyncContext
data SessionGetAsyncContextMethodInfo Source
((~) * signature (m (Maybe MainContext)), MonadIO m, SessionK a) => MethodInfo * SessionGetAsyncContextMethodInfo a signature |
sessionGetAsyncContext :: (MonadIO m, SessionK a) => a -> m (Maybe MainContext) Source
sessionGetFeature
data SessionGetFeatureMethodInfo Source
((~) * signature (GType -> m (Maybe SessionFeature)), MonadIO m, SessionK a) => MethodInfo * SessionGetFeatureMethodInfo a signature |
sessionGetFeature :: (MonadIO m, SessionK a) => a -> GType -> m (Maybe SessionFeature) Source
sessionGetFeatureForMessage
data SessionGetFeatureForMessageMethodInfo Source
((~) * signature (GType -> b -> m (Maybe SessionFeature)), MonadIO m, SessionK a, MessageK b) => MethodInfo * SessionGetFeatureForMessageMethodInfo a signature |
sessionGetFeatureForMessage :: (MonadIO m, SessionK a, MessageK b) => a -> GType -> b -> m (Maybe SessionFeature) Source
sessionGetFeatures
data SessionGetFeaturesMethodInfo Source
((~) * signature (GType -> m [SessionFeature]), MonadIO m, SessionK a) => MethodInfo * SessionGetFeaturesMethodInfo a signature |
sessionGetFeatures :: (MonadIO m, SessionK a) => a -> GType -> m [SessionFeature] Source
sessionHasFeature
data SessionHasFeatureMethodInfo Source
((~) * signature (GType -> m Bool), MonadIO m, SessionK a) => MethodInfo * SessionHasFeatureMethodInfo a signature |
sessionNew
sessionNew :: MonadIO m => m Session Source
sessionPauseMessage
data SessionPauseMessageMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, SessionK a, MessageK b) => MethodInfo * SessionPauseMessageMethodInfo a signature |
sessionPauseMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m () Source
sessionPrefetchDns
data SessionPrefetchDnsMethodInfo Source
((~) * signature (Text -> Maybe b -> Maybe AddressCallback -> m ()), MonadIO m, SessionK a, CancellableK b) => MethodInfo * SessionPrefetchDnsMethodInfo a signature |
sessionPrefetchDns :: (MonadIO m, SessionK a, CancellableK b) => a -> Text -> Maybe b -> Maybe AddressCallback -> m () Source
sessionPrepareForUri
data SessionPrepareForUriMethodInfo Source
((~) * signature (URI -> m ()), MonadIO m, SessionK a) => MethodInfo * SessionPrepareForUriMethodInfo a signature |
sessionPrepareForUri :: (MonadIO m, SessionK a) => a -> URI -> m () Source
Deprecated: (Since version 2.38)use soup_session_prefetch_dns() instead
sessionQueueMessage
data SessionQueueMessageMethodInfo Source
((~) * signature (b -> Maybe SessionCallback -> m ()), MonadIO m, SessionK a, MessageK b) => MethodInfo * SessionQueueMessageMethodInfo a signature |
sessionQueueMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> Maybe SessionCallback -> m () Source
sessionRedirectMessage
data SessionRedirectMessageMethodInfo Source
((~) * signature (b -> m Bool), MonadIO m, SessionK a, MessageK b) => MethodInfo * SessionRedirectMessageMethodInfo a signature |
sessionRemoveFeature
data SessionRemoveFeatureMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, SessionK a, SessionFeatureK b) => MethodInfo * SessionRemoveFeatureMethodInfo a signature |
sessionRemoveFeature :: (MonadIO m, SessionK a, SessionFeatureK b) => a -> b -> m () Source
sessionRemoveFeatureByType
data SessionRemoveFeatureByTypeMethodInfo Source
((~) * signature (GType -> m ()), MonadIO m, SessionK a) => MethodInfo * SessionRemoveFeatureByTypeMethodInfo a signature |
sessionRemoveFeatureByType :: (MonadIO m, SessionK a) => a -> GType -> m () Source
sessionRequest
data SessionRequestMethodInfo Source
((~) * signature (Text -> m Request), MonadIO m, SessionK a) => MethodInfo * SessionRequestMethodInfo a signature |
sessionRequestHttp
data SessionRequestHttpMethodInfo Source
((~) * signature (Text -> Text -> m RequestHTTP), MonadIO m, SessionK a) => MethodInfo * SessionRequestHttpMethodInfo a signature |
sessionRequestHttp :: (MonadIO m, SessionK a) => a -> Text -> Text -> m RequestHTTP Source
sessionRequestHttpUri
data SessionRequestHttpUriMethodInfo Source
((~) * signature (Text -> URI -> m RequestHTTP), MonadIO m, SessionK a) => MethodInfo * SessionRequestHttpUriMethodInfo a signature |
sessionRequestHttpUri :: (MonadIO m, SessionK a) => a -> Text -> URI -> m RequestHTTP Source
sessionRequestUri
data SessionRequestUriMethodInfo Source
((~) * signature (URI -> m Request), MonadIO m, SessionK a) => MethodInfo * SessionRequestUriMethodInfo a signature |
sessionRequeueMessage
data SessionRequeueMessageMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, SessionK a, MessageK b) => MethodInfo * SessionRequeueMessageMethodInfo a signature |
sessionRequeueMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m () Source
sessionSend
data SessionSendMethodInfo Source
((~) * signature (b -> Maybe c -> m InputStream), MonadIO m, SessionK a, MessageK b, CancellableK c) => MethodInfo * SessionSendMethodInfo a signature |
sessionSend :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe c -> m InputStream Source
sessionSendAsync
data SessionSendAsyncMethodInfo Source
((~) * signature (b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, SessionK a, MessageK b, CancellableK c) => MethodInfo * SessionSendAsyncMethodInfo a signature |
sessionSendAsync :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe c -> Maybe AsyncReadyCallback -> m () Source
sessionSendFinish
data SessionSendFinishMethodInfo Source
((~) * signature (b -> m InputStream), MonadIO m, SessionK a, AsyncResultK b) => MethodInfo * SessionSendFinishMethodInfo a signature |
sessionSendFinish :: (MonadIO m, SessionK a, AsyncResultK b) => a -> b -> m InputStream Source
sessionSendMessage
data SessionSendMessageMethodInfo Source
((~) * signature (b -> m Word32), MonadIO m, SessionK a, MessageK b) => MethodInfo * SessionSendMessageMethodInfo a signature |
sessionStealConnection
data SessionStealConnectionMethodInfo Source
((~) * signature (b -> m IOStream), MonadIO m, SessionK a, MessageK b) => MethodInfo * SessionStealConnectionMethodInfo a signature |
sessionUnpauseMessage
data SessionUnpauseMessageMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, SessionK a, MessageK b) => MethodInfo * SessionUnpauseMessageMethodInfo a signature |
sessionUnpauseMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m () Source
sessionWebsocketConnectAsync
data SessionWebsocketConnectAsyncMethodInfo Source
((~) * signature (b -> Maybe Text -> Maybe [Text] -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, SessionK a, MessageK b, CancellableK c) => MethodInfo * SessionWebsocketConnectAsyncMethodInfo a signature |
sessionWebsocketConnectAsync :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe Text -> Maybe [Text] -> Maybe c -> Maybe AsyncReadyCallback -> m () Source
sessionWebsocketConnectFinish
data SessionWebsocketConnectFinishMethodInfo Source
((~) * signature (b -> m WebsocketConnection), MonadIO m, SessionK a, AsyncResultK b) => MethodInfo * SessionWebsocketConnectFinishMethodInfo a signature |
sessionWebsocketConnectFinish :: (MonadIO m, SessionK a, AsyncResultK b) => a -> b -> m WebsocketConnection Source
sessionWouldRedirect
data SessionWouldRedirectMethodInfo Source
((~) * signature (b -> m Bool), MonadIO m, SessionK a, MessageK b) => MethodInfo * SessionWouldRedirectMethodInfo a signature |
Properties
AcceptLanguage
data SessionAcceptLanguagePropertyInfo Source
AttrInfo SessionAcceptLanguagePropertyInfo | |
type AttrLabel SessionAcceptLanguagePropertyInfo = "accept-language" | |
type AttrGetType SessionAcceptLanguagePropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint SessionAcceptLanguagePropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionAcceptLanguagePropertyInfo = * ~ Text | |
type AttrAllowedOps SessionAcceptLanguagePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearSessionAcceptLanguage :: (MonadIO m, SessionK o) => o -> m () Source
sessionAcceptLanguage :: AttrLabelProxy "acceptLanguage" Source
setSessionAcceptLanguage :: (MonadIO m, SessionK o) => o -> Text -> m () Source
AcceptLanguageAuto
data SessionAcceptLanguageAutoPropertyInfo Source
AttrInfo SessionAcceptLanguageAutoPropertyInfo | |
type AttrLabel SessionAcceptLanguageAutoPropertyInfo = "accept-language-auto" | |
type AttrGetType SessionAcceptLanguageAutoPropertyInfo = Bool | |
type AttrBaseTypeConstraint SessionAcceptLanguageAutoPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionAcceptLanguageAutoPropertyInfo = * ~ Bool | |
type AttrAllowedOps SessionAcceptLanguageAutoPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionAcceptLanguageAuto :: (MonadIO m, SessionK o) => o -> m Bool Source
sessionAcceptLanguageAuto :: AttrLabelProxy "acceptLanguageAuto" Source
setSessionAcceptLanguageAuto :: (MonadIO m, SessionK o) => o -> Bool -> m () Source
AsyncContext
data SessionAsyncContextPropertyInfo Source
AttrInfo SessionAsyncContextPropertyInfo | |
type AttrLabel SessionAsyncContextPropertyInfo = "async-context" | |
type AttrGetType SessionAsyncContextPropertyInfo = Ptr () | |
type AttrBaseTypeConstraint SessionAsyncContextPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionAsyncContextPropertyInfo = * ~ Ptr () | |
type AttrAllowedOps SessionAsyncContextPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getSessionAsyncContext :: (MonadIO m, SessionK o) => o -> m (Ptr ()) Source
sessionAsyncContext :: AttrLabelProxy "asyncContext" Source
HttpAliases
data SessionHttpAliasesPropertyInfo Source
AttrInfo SessionHttpAliasesPropertyInfo | |
type AttrLabel SessionHttpAliasesPropertyInfo = "http-aliases" | |
type AttrGetType SessionHttpAliasesPropertyInfo = Maybe [Text] | |
type AttrBaseTypeConstraint SessionHttpAliasesPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionHttpAliasesPropertyInfo = * ~ [Text] | |
type AttrAllowedOps SessionHttpAliasesPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearSessionHttpAliases :: (MonadIO m, SessionK o) => o -> m () Source
sessionHttpAliases :: AttrLabelProxy "httpAliases" Source
setSessionHttpAliases :: (MonadIO m, SessionK o) => o -> [Text] -> m () Source
HttpsAliases
data SessionHttpsAliasesPropertyInfo Source
AttrInfo SessionHttpsAliasesPropertyInfo | |
type AttrLabel SessionHttpsAliasesPropertyInfo = "https-aliases" | |
type AttrGetType SessionHttpsAliasesPropertyInfo = Maybe [Text] | |
type AttrBaseTypeConstraint SessionHttpsAliasesPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionHttpsAliasesPropertyInfo = * ~ [Text] | |
type AttrAllowedOps SessionHttpsAliasesPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearSessionHttpsAliases :: (MonadIO m, SessionK o) => o -> m () Source
sessionHttpsAliases :: AttrLabelProxy "httpsAliases" Source
setSessionHttpsAliases :: (MonadIO m, SessionK o) => o -> [Text] -> m () Source
IdleTimeout
data SessionIdleTimeoutPropertyInfo Source
AttrInfo SessionIdleTimeoutPropertyInfo | |
type AttrLabel SessionIdleTimeoutPropertyInfo = "idle-timeout" | |
type AttrGetType SessionIdleTimeoutPropertyInfo = Word32 | |
type AttrBaseTypeConstraint SessionIdleTimeoutPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionIdleTimeoutPropertyInfo = * ~ Word32 | |
type AttrAllowedOps SessionIdleTimeoutPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionIdleTimeout :: (MonadIO m, SessionK o) => o -> m Word32 Source
sessionIdleTimeout :: AttrLabelProxy "idleTimeout" Source
setSessionIdleTimeout :: (MonadIO m, SessionK o) => o -> Word32 -> m () Source
LocalAddress
data SessionLocalAddressPropertyInfo Source
AttrInfo SessionLocalAddressPropertyInfo | |
type AttrLabel SessionLocalAddressPropertyInfo = "local-address" | |
type AttrGetType SessionLocalAddressPropertyInfo = Maybe Address | |
type AttrBaseTypeConstraint SessionLocalAddressPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionLocalAddressPropertyInfo = AddressK | |
type AttrAllowedOps SessionLocalAddressPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
sessionLocalAddress :: AttrLabelProxy "localAddress" Source
MaxConns
data SessionMaxConnsPropertyInfo Source
AttrInfo SessionMaxConnsPropertyInfo | |
type AttrLabel SessionMaxConnsPropertyInfo = "max-conns" | |
type AttrGetType SessionMaxConnsPropertyInfo = Int32 | |
type AttrBaseTypeConstraint SessionMaxConnsPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionMaxConnsPropertyInfo = * ~ Int32 | |
type AttrAllowedOps SessionMaxConnsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionMaxConns :: (MonadIO m, SessionK o) => o -> m Int32 Source
sessionMaxConns :: AttrLabelProxy "maxConns" Source
setSessionMaxConns :: (MonadIO m, SessionK o) => o -> Int32 -> m () Source
MaxConnsPerHost
data SessionMaxConnsPerHostPropertyInfo Source
AttrInfo SessionMaxConnsPerHostPropertyInfo | |
type AttrLabel SessionMaxConnsPerHostPropertyInfo = "max-conns-per-host" | |
type AttrGetType SessionMaxConnsPerHostPropertyInfo = Int32 | |
type AttrBaseTypeConstraint SessionMaxConnsPerHostPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionMaxConnsPerHostPropertyInfo = * ~ Int32 | |
type AttrAllowedOps SessionMaxConnsPerHostPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionMaxConnsPerHost :: (MonadIO m, SessionK o) => o -> m Int32 Source
sessionMaxConnsPerHost :: AttrLabelProxy "maxConnsPerHost" Source
setSessionMaxConnsPerHost :: (MonadIO m, SessionK o) => o -> Int32 -> m () Source
ProxyResolver
data SessionProxyResolverPropertyInfo Source
AttrInfo SessionProxyResolverPropertyInfo | |
type AttrLabel SessionProxyResolverPropertyInfo = "proxy-resolver" | |
type AttrGetType SessionProxyResolverPropertyInfo = Maybe ProxyResolver | |
type AttrBaseTypeConstraint SessionProxyResolverPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionProxyResolverPropertyInfo = ProxyResolverK | |
type AttrAllowedOps SessionProxyResolverPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearSessionProxyResolver :: (MonadIO m, SessionK o) => o -> m () Source
constructSessionProxyResolver :: ProxyResolverK a => a -> IO ([Char], GValue) Source
getSessionProxyResolver :: (MonadIO m, SessionK o) => o -> m (Maybe ProxyResolver) Source
sessionProxyResolver :: AttrLabelProxy "proxyResolver" Source
setSessionProxyResolver :: (MonadIO m, SessionK o, ProxyResolverK a) => o -> a -> m () Source
ProxyUri
data SessionProxyUriPropertyInfo Source
AttrInfo SessionProxyUriPropertyInfo | |
type AttrLabel SessionProxyUriPropertyInfo = "proxy-uri" | |
type AttrGetType SessionProxyUriPropertyInfo = Maybe URI | |
type AttrBaseTypeConstraint SessionProxyUriPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionProxyUriPropertyInfo = * ~ URI | |
type AttrAllowedOps SessionProxyUriPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearSessionProxyUri :: (MonadIO m, SessionK o) => o -> m () Source
sessionProxyUri :: AttrLabelProxy "proxyUri" Source
setSessionProxyUri :: (MonadIO m, SessionK o) => o -> URI -> m () Source
SslCaFile
data SessionSslCaFilePropertyInfo Source
AttrInfo SessionSslCaFilePropertyInfo | |
type AttrLabel SessionSslCaFilePropertyInfo = "ssl-ca-file" | |
type AttrGetType SessionSslCaFilePropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint SessionSslCaFilePropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionSslCaFilePropertyInfo = * ~ Text | |
type AttrAllowedOps SessionSslCaFilePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearSessionSslCaFile :: (MonadIO m, SessionK o) => o -> m () Source
sessionSslCaFile :: AttrLabelProxy "sslCaFile" Source
setSessionSslCaFile :: (MonadIO m, SessionK o) => o -> Text -> m () Source
SslStrict
data SessionSslStrictPropertyInfo Source
AttrInfo SessionSslStrictPropertyInfo | |
type AttrLabel SessionSslStrictPropertyInfo = "ssl-strict" | |
type AttrGetType SessionSslStrictPropertyInfo = Bool | |
type AttrBaseTypeConstraint SessionSslStrictPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionSslStrictPropertyInfo = * ~ Bool | |
type AttrAllowedOps SessionSslStrictPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionSslStrict :: (MonadIO m, SessionK o) => o -> m Bool Source
sessionSslStrict :: AttrLabelProxy "sslStrict" Source
setSessionSslStrict :: (MonadIO m, SessionK o) => o -> Bool -> m () Source
SslUseSystemCaFile
data SessionSslUseSystemCaFilePropertyInfo Source
AttrInfo SessionSslUseSystemCaFilePropertyInfo | |
type AttrLabel SessionSslUseSystemCaFilePropertyInfo = "ssl-use-system-ca-file" | |
type AttrGetType SessionSslUseSystemCaFilePropertyInfo = Bool | |
type AttrBaseTypeConstraint SessionSslUseSystemCaFilePropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionSslUseSystemCaFilePropertyInfo = * ~ Bool | |
type AttrAllowedOps SessionSslUseSystemCaFilePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionSslUseSystemCaFile :: (MonadIO m, SessionK o) => o -> m Bool Source
sessionSslUseSystemCaFile :: AttrLabelProxy "sslUseSystemCaFile" Source
setSessionSslUseSystemCaFile :: (MonadIO m, SessionK o) => o -> Bool -> m () Source
Timeout
data SessionTimeoutPropertyInfo Source
AttrInfo SessionTimeoutPropertyInfo | |
type AttrLabel SessionTimeoutPropertyInfo = "timeout" | |
type AttrGetType SessionTimeoutPropertyInfo = Word32 | |
type AttrBaseTypeConstraint SessionTimeoutPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionTimeoutPropertyInfo = * ~ Word32 | |
type AttrAllowedOps SessionTimeoutPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionTimeout :: (MonadIO m, SessionK o) => o -> m Word32 Source
sessionTimeout :: AttrLabelProxy "timeout" Source
setSessionTimeout :: (MonadIO m, SessionK o) => o -> Word32 -> m () Source
TlsDatabase
data SessionTlsDatabasePropertyInfo Source
AttrInfo SessionTlsDatabasePropertyInfo | |
type AttrLabel SessionTlsDatabasePropertyInfo = "tls-database" | |
type AttrGetType SessionTlsDatabasePropertyInfo = Maybe TlsDatabase | |
type AttrBaseTypeConstraint SessionTlsDatabasePropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionTlsDatabasePropertyInfo = TlsDatabaseK | |
type AttrAllowedOps SessionTlsDatabasePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearSessionTlsDatabase :: (MonadIO m, SessionK o) => o -> m () Source
constructSessionTlsDatabase :: TlsDatabaseK a => a -> IO ([Char], GValue) Source
getSessionTlsDatabase :: (MonadIO m, SessionK o) => o -> m (Maybe TlsDatabase) Source
sessionTlsDatabase :: AttrLabelProxy "tlsDatabase" Source
setSessionTlsDatabase :: (MonadIO m, SessionK o, TlsDatabaseK a) => o -> a -> m () Source
TlsInteraction
data SessionTlsInteractionPropertyInfo Source
AttrInfo SessionTlsInteractionPropertyInfo | |
type AttrLabel SessionTlsInteractionPropertyInfo = "tls-interaction" | |
type AttrGetType SessionTlsInteractionPropertyInfo = Maybe TlsInteraction | |
type AttrBaseTypeConstraint SessionTlsInteractionPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionTlsInteractionPropertyInfo = TlsInteractionK | |
type AttrAllowedOps SessionTlsInteractionPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearSessionTlsInteraction :: (MonadIO m, SessionK o) => o -> m () Source
constructSessionTlsInteraction :: TlsInteractionK a => a -> IO ([Char], GValue) Source
getSessionTlsInteraction :: (MonadIO m, SessionK o) => o -> m (Maybe TlsInteraction) Source
sessionTlsInteraction :: AttrLabelProxy "tlsInteraction" Source
setSessionTlsInteraction :: (MonadIO m, SessionK o, TlsInteractionK a) => o -> a -> m () Source
UseNtlm
data SessionUseNtlmPropertyInfo Source
AttrInfo SessionUseNtlmPropertyInfo | |
type AttrLabel SessionUseNtlmPropertyInfo = "use-ntlm" | |
type AttrGetType SessionUseNtlmPropertyInfo = Bool | |
type AttrBaseTypeConstraint SessionUseNtlmPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionUseNtlmPropertyInfo = * ~ Bool | |
type AttrAllowedOps SessionUseNtlmPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionUseNtlm :: (MonadIO m, SessionK o) => o -> m Bool Source
sessionUseNtlm :: AttrLabelProxy "useNtlm" Source
setSessionUseNtlm :: (MonadIO m, SessionK o) => o -> Bool -> m () Source
UseThreadContext
data SessionUseThreadContextPropertyInfo Source
AttrInfo SessionUseThreadContextPropertyInfo | |
type AttrLabel SessionUseThreadContextPropertyInfo = "use-thread-context" | |
type AttrGetType SessionUseThreadContextPropertyInfo = Bool | |
type AttrBaseTypeConstraint SessionUseThreadContextPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionUseThreadContextPropertyInfo = * ~ Bool | |
type AttrAllowedOps SessionUseThreadContextPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionUseThreadContext :: (MonadIO m, SessionK o) => o -> m Bool Source
sessionUseThreadContext :: AttrLabelProxy "useThreadContext" Source
setSessionUseThreadContext :: (MonadIO m, SessionK o) => o -> Bool -> m () Source
UserAgent
data SessionUserAgentPropertyInfo Source
AttrInfo SessionUserAgentPropertyInfo | |
type AttrLabel SessionUserAgentPropertyInfo = "user-agent" | |
type AttrGetType SessionUserAgentPropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint SessionUserAgentPropertyInfo = SessionK | |
type AttrSetTypeConstraint SessionUserAgentPropertyInfo = * ~ Text | |
type AttrAllowedOps SessionUserAgentPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearSessionUserAgent :: (MonadIO m, SessionK o) => o -> m () Source
sessionUserAgent :: AttrLabelProxy "userAgent" Source
setSessionUserAgent :: (MonadIO m, SessionK o) => o -> Text -> m () Source
Signals
Authenticate
type SessionAuthenticateCallbackC = Ptr () -> Ptr Message -> Ptr Auth -> CInt -> Ptr () -> IO () Source
afterSessionAuthenticate :: (GObject a, MonadIO m) => a -> SessionAuthenticateCallback -> m SignalHandlerId Source
mkSessionAuthenticateCallback :: SessionAuthenticateCallbackC -> IO (FunPtr SessionAuthenticateCallbackC) Source
onSessionAuthenticate :: (GObject a, MonadIO m) => a -> SessionAuthenticateCallback -> m SignalHandlerId Source
sessionAuthenticateCallbackWrapper :: SessionAuthenticateCallback -> Ptr () -> Ptr Message -> Ptr Auth -> CInt -> Ptr () -> IO () Source
ConnectionCreated
type SessionConnectionCreatedCallback = Object -> IO () Source
afterSessionConnectionCreated :: (GObject a, MonadIO m) => a -> SessionConnectionCreatedCallback -> m SignalHandlerId Source
mkSessionConnectionCreatedCallback :: SessionConnectionCreatedCallbackC -> IO (FunPtr SessionConnectionCreatedCallbackC) Source
onSessionConnectionCreated :: (GObject a, MonadIO m) => a -> SessionConnectionCreatedCallback -> m SignalHandlerId Source
sessionConnectionCreatedCallbackWrapper :: SessionConnectionCreatedCallback -> Ptr () -> Ptr Object -> Ptr () -> IO () Source
RequestQueued
type SessionRequestQueuedCallback = Message -> IO () Source
afterSessionRequestQueued :: (GObject a, MonadIO m) => a -> SessionRequestQueuedCallback -> m SignalHandlerId Source
mkSessionRequestQueuedCallback :: SessionRequestQueuedCallbackC -> IO (FunPtr SessionRequestQueuedCallbackC) Source
onSessionRequestQueued :: (GObject a, MonadIO m) => a -> SessionRequestQueuedCallback -> m SignalHandlerId Source
sessionRequestQueuedCallbackWrapper :: SessionRequestQueuedCallback -> Ptr () -> Ptr Message -> Ptr () -> IO () Source
RequestStarted
type SessionRequestStartedCallback = Message -> Socket -> IO () Source
afterSessionRequestStarted :: (GObject a, MonadIO m) => a -> SessionRequestStartedCallback -> m SignalHandlerId Source
mkSessionRequestStartedCallback :: SessionRequestStartedCallbackC -> IO (FunPtr SessionRequestStartedCallbackC) Source
onSessionRequestStarted :: (GObject a, MonadIO m) => a -> SessionRequestStartedCallback -> m SignalHandlerId Source
sessionRequestStartedCallbackWrapper :: SessionRequestStartedCallback -> Ptr () -> Ptr Message -> Ptr Socket -> Ptr () -> IO () Source
RequestUnqueued
type SessionRequestUnqueuedCallback = Message -> IO () Source
afterSessionRequestUnqueued :: (GObject a, MonadIO m) => a -> SessionRequestUnqueuedCallback -> m SignalHandlerId Source
mkSessionRequestUnqueuedCallback :: SessionRequestUnqueuedCallbackC -> IO (FunPtr SessionRequestUnqueuedCallbackC) Source
onSessionRequestUnqueued :: (GObject a, MonadIO m) => a -> SessionRequestUnqueuedCallback -> m SignalHandlerId Source
sessionRequestUnqueuedCallbackWrapper :: SessionRequestUnqueuedCallback -> Ptr () -> Ptr Message -> Ptr () -> IO () Source
Tunneling
type SessionTunnelingCallback = Object -> IO () Source
afterSessionTunneling :: (GObject a, MonadIO m) => a -> SessionTunnelingCallback -> m SignalHandlerId Source
mkSessionTunnelingCallback :: SessionTunnelingCallbackC -> IO (FunPtr SessionTunnelingCallbackC) Source
onSessionTunneling :: (GObject a, MonadIO m) => a -> SessionTunnelingCallback -> m SignalHandlerId Source
sessionTunnelingCallbackWrapper :: SessionTunnelingCallback -> Ptr () -> Ptr Object -> Ptr () -> IO () Source