| 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 |
GI.Soup.Objects.Session
Contents
- 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
Description
- newtype Session = Session (ForeignPtr Session)
- class GObject o => IsSession o
- toSession :: IsSession o => o -> IO Session
- noSession :: Maybe Session
- data SessionAbortMethodInfo
- sessionAbort :: (MonadIO m, IsSession a) => a -> m ()
- data SessionAddFeatureMethodInfo
- sessionAddFeature :: (MonadIO m, IsSession a, IsSessionFeature b) => a -> b -> m ()
- data SessionAddFeatureByTypeMethodInfo
- sessionAddFeatureByType :: (MonadIO m, IsSession a) => a -> GType -> m ()
- data SessionCancelMessageMethodInfo
- sessionCancelMessage :: (MonadIO m, IsSession a, IsMessage b) => a -> b -> Word32 -> m ()
- data SessionGetAsyncContextMethodInfo
- sessionGetAsyncContext :: (MonadIO m, IsSession a) => a -> m (Maybe MainContext)
- data SessionGetFeatureMethodInfo
- sessionGetFeature :: (MonadIO m, IsSession a) => a -> GType -> m (Maybe SessionFeature)
- data SessionGetFeatureForMessageMethodInfo
- sessionGetFeatureForMessage :: (MonadIO m, IsSession a, IsMessage b) => a -> GType -> b -> m (Maybe SessionFeature)
- data SessionGetFeaturesMethodInfo
- sessionGetFeatures :: (MonadIO m, IsSession a) => a -> GType -> m [SessionFeature]
- data SessionHasFeatureMethodInfo
- sessionHasFeature :: (MonadIO m, IsSession a) => a -> GType -> m Bool
- sessionNew :: MonadIO m => m Session
- data SessionPauseMessageMethodInfo
- sessionPauseMessage :: (MonadIO m, IsSession a, IsMessage b) => a -> b -> m ()
- data SessionPrefetchDnsMethodInfo
- sessionPrefetchDns :: (MonadIO m, IsSession a, IsCancellable b) => a -> Text -> Maybe b -> Maybe AddressCallback -> m ()
- data SessionPrepareForUriMethodInfo
- sessionPrepareForUri :: (MonadIO m, IsSession a) => a -> URI -> m ()
- data SessionQueueMessageMethodInfo
- sessionQueueMessage :: (MonadIO m, IsSession a, IsMessage b) => a -> b -> Maybe SessionCallback -> m ()
- data SessionRedirectMessageMethodInfo
- sessionRedirectMessage :: (MonadIO m, IsSession a, IsMessage b) => a -> b -> m Bool
- data SessionRemoveFeatureMethodInfo
- sessionRemoveFeature :: (MonadIO m, IsSession a, IsSessionFeature b) => a -> b -> m ()
- data SessionRemoveFeatureByTypeMethodInfo
- sessionRemoveFeatureByType :: (MonadIO m, IsSession a) => a -> GType -> m ()
- data SessionRequestMethodInfo
- sessionRequest :: (MonadIO m, IsSession a) => a -> Text -> m Request
- data SessionRequestHttpMethodInfo
- sessionRequestHttp :: (MonadIO m, IsSession a) => a -> Text -> Text -> m RequestHTTP
- data SessionRequestHttpUriMethodInfo
- sessionRequestHttpUri :: (MonadIO m, IsSession a) => a -> Text -> URI -> m RequestHTTP
- data SessionRequestUriMethodInfo
- sessionRequestUri :: (MonadIO m, IsSession a) => a -> URI -> m Request
- data SessionRequeueMessageMethodInfo
- sessionRequeueMessage :: (MonadIO m, IsSession a, IsMessage b) => a -> b -> m ()
- data SessionSendMethodInfo
- sessionSend :: (MonadIO m, IsSession a, IsMessage b, IsCancellable c) => a -> b -> Maybe c -> m InputStream
- data SessionSendAsyncMethodInfo
- sessionSendAsync :: (MonadIO m, IsSession a, IsMessage b, IsCancellable c) => a -> b -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- data SessionSendFinishMethodInfo
- sessionSendFinish :: (MonadIO m, IsSession a, IsAsyncResult b) => a -> b -> m InputStream
- data SessionSendMessageMethodInfo
- sessionSendMessage :: (MonadIO m, IsSession a, IsMessage b) => a -> b -> m Word32
- data SessionStealConnectionMethodInfo
- sessionStealConnection :: (MonadIO m, IsSession a, IsMessage b) => a -> b -> m IOStream
- data SessionUnpauseMessageMethodInfo
- sessionUnpauseMessage :: (MonadIO m, IsSession a, IsMessage b) => a -> b -> m ()
- data SessionWebsocketConnectAsyncMethodInfo
- sessionWebsocketConnectAsync :: (MonadIO m, IsSession a, IsMessage b, IsCancellable c) => a -> b -> Maybe Text -> Maybe [Text] -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- data SessionWebsocketConnectFinishMethodInfo
- sessionWebsocketConnectFinish :: (MonadIO m, IsSession a, IsAsyncResult b) => a -> b -> m WebsocketConnection
- data SessionWouldRedirectMethodInfo
- sessionWouldRedirect :: (MonadIO m, IsSession a, IsMessage b) => a -> b -> m Bool
- data SessionAcceptLanguagePropertyInfo
- clearSessionAcceptLanguage :: (MonadIO m, IsSession o) => o -> m ()
- constructSessionAcceptLanguage :: IsSession o => Text -> IO (GValueConstruct o)
- getSessionAcceptLanguage :: (MonadIO m, IsSession o) => o -> m (Maybe Text)
- sessionAcceptLanguage :: AttrLabelProxy "acceptLanguage"
- setSessionAcceptLanguage :: (MonadIO m, IsSession o) => o -> Text -> m ()
- data SessionAcceptLanguageAutoPropertyInfo
- constructSessionAcceptLanguageAuto :: IsSession o => Bool -> IO (GValueConstruct o)
- getSessionAcceptLanguageAuto :: (MonadIO m, IsSession o) => o -> m Bool
- sessionAcceptLanguageAuto :: AttrLabelProxy "acceptLanguageAuto"
- setSessionAcceptLanguageAuto :: (MonadIO m, IsSession o) => o -> Bool -> m ()
- data SessionAsyncContextPropertyInfo
- constructSessionAsyncContext :: IsSession o => Ptr () -> IO (GValueConstruct o)
- getSessionAsyncContext :: (MonadIO m, IsSession o) => o -> m (Ptr ())
- sessionAsyncContext :: AttrLabelProxy "asyncContext"
- data SessionHttpAliasesPropertyInfo
- clearSessionHttpAliases :: (MonadIO m, IsSession o) => o -> m ()
- constructSessionHttpAliases :: IsSession o => [Text] -> IO (GValueConstruct o)
- getSessionHttpAliases :: (MonadIO m, IsSession o) => o -> m (Maybe [Text])
- sessionHttpAliases :: AttrLabelProxy "httpAliases"
- setSessionHttpAliases :: (MonadIO m, IsSession o) => o -> [Text] -> m ()
- data SessionHttpsAliasesPropertyInfo
- clearSessionHttpsAliases :: (MonadIO m, IsSession o) => o -> m ()
- constructSessionHttpsAliases :: IsSession o => [Text] -> IO (GValueConstruct o)
- getSessionHttpsAliases :: (MonadIO m, IsSession o) => o -> m (Maybe [Text])
- sessionHttpsAliases :: AttrLabelProxy "httpsAliases"
- setSessionHttpsAliases :: (MonadIO m, IsSession o) => o -> [Text] -> m ()
- data SessionIdleTimeoutPropertyInfo
- constructSessionIdleTimeout :: IsSession o => Word32 -> IO (GValueConstruct o)
- getSessionIdleTimeout :: (MonadIO m, IsSession o) => o -> m Word32
- sessionIdleTimeout :: AttrLabelProxy "idleTimeout"
- setSessionIdleTimeout :: (MonadIO m, IsSession o) => o -> Word32 -> m ()
- data SessionLocalAddressPropertyInfo
- constructSessionLocalAddress :: (IsSession o, IsAddress a) => a -> IO (GValueConstruct o)
- getSessionLocalAddress :: (MonadIO m, IsSession o) => o -> m (Maybe Address)
- sessionLocalAddress :: AttrLabelProxy "localAddress"
- data SessionMaxConnsPropertyInfo
- constructSessionMaxConns :: IsSession o => Int32 -> IO (GValueConstruct o)
- getSessionMaxConns :: (MonadIO m, IsSession o) => o -> m Int32
- sessionMaxConns :: AttrLabelProxy "maxConns"
- setSessionMaxConns :: (MonadIO m, IsSession o) => o -> Int32 -> m ()
- data SessionMaxConnsPerHostPropertyInfo
- constructSessionMaxConnsPerHost :: IsSession o => Int32 -> IO (GValueConstruct o)
- getSessionMaxConnsPerHost :: (MonadIO m, IsSession o) => o -> m Int32
- sessionMaxConnsPerHost :: AttrLabelProxy "maxConnsPerHost"
- setSessionMaxConnsPerHost :: (MonadIO m, IsSession o) => o -> Int32 -> m ()
- data SessionProxyResolverPropertyInfo
- clearSessionProxyResolver :: (MonadIO m, IsSession o) => o -> m ()
- constructSessionProxyResolver :: (IsSession o, IsProxyResolver a) => a -> IO (GValueConstruct o)
- getSessionProxyResolver :: (MonadIO m, IsSession o) => o -> m (Maybe ProxyResolver)
- sessionProxyResolver :: AttrLabelProxy "proxyResolver"
- setSessionProxyResolver :: (MonadIO m, IsSession o, IsProxyResolver a) => o -> a -> m ()
- data SessionProxyUriPropertyInfo
- clearSessionProxyUri :: (MonadIO m, IsSession o) => o -> m ()
- constructSessionProxyUri :: IsSession o => URI -> IO (GValueConstruct o)
- getSessionProxyUri :: (MonadIO m, IsSession o) => o -> m (Maybe URI)
- sessionProxyUri :: AttrLabelProxy "proxyUri"
- setSessionProxyUri :: (MonadIO m, IsSession o) => o -> URI -> m ()
- data SessionSslCaFilePropertyInfo
- clearSessionSslCaFile :: (MonadIO m, IsSession o) => o -> m ()
- constructSessionSslCaFile :: IsSession o => Text -> IO (GValueConstruct o)
- getSessionSslCaFile :: (MonadIO m, IsSession o) => o -> m (Maybe Text)
- sessionSslCaFile :: AttrLabelProxy "sslCaFile"
- setSessionSslCaFile :: (MonadIO m, IsSession o) => o -> Text -> m ()
- data SessionSslStrictPropertyInfo
- constructSessionSslStrict :: IsSession o => Bool -> IO (GValueConstruct o)
- getSessionSslStrict :: (MonadIO m, IsSession o) => o -> m Bool
- sessionSslStrict :: AttrLabelProxy "sslStrict"
- setSessionSslStrict :: (MonadIO m, IsSession o) => o -> Bool -> m ()
- data SessionSslUseSystemCaFilePropertyInfo
- constructSessionSslUseSystemCaFile :: IsSession o => Bool -> IO (GValueConstruct o)
- getSessionSslUseSystemCaFile :: (MonadIO m, IsSession o) => o -> m Bool
- sessionSslUseSystemCaFile :: AttrLabelProxy "sslUseSystemCaFile"
- setSessionSslUseSystemCaFile :: (MonadIO m, IsSession o) => o -> Bool -> m ()
- data SessionTimeoutPropertyInfo
- constructSessionTimeout :: IsSession o => Word32 -> IO (GValueConstruct o)
- getSessionTimeout :: (MonadIO m, IsSession o) => o -> m Word32
- sessionTimeout :: AttrLabelProxy "timeout"
- setSessionTimeout :: (MonadIO m, IsSession o) => o -> Word32 -> m ()
- data SessionTlsDatabasePropertyInfo
- clearSessionTlsDatabase :: (MonadIO m, IsSession o) => o -> m ()
- constructSessionTlsDatabase :: (IsSession o, IsTlsDatabase a) => a -> IO (GValueConstruct o)
- getSessionTlsDatabase :: (MonadIO m, IsSession o) => o -> m (Maybe TlsDatabase)
- sessionTlsDatabase :: AttrLabelProxy "tlsDatabase"
- setSessionTlsDatabase :: (MonadIO m, IsSession o, IsTlsDatabase a) => o -> a -> m ()
- data SessionTlsInteractionPropertyInfo
- clearSessionTlsInteraction :: (MonadIO m, IsSession o) => o -> m ()
- constructSessionTlsInteraction :: (IsSession o, IsTlsInteraction a) => a -> IO (GValueConstruct o)
- getSessionTlsInteraction :: (MonadIO m, IsSession o) => o -> m (Maybe TlsInteraction)
- sessionTlsInteraction :: AttrLabelProxy "tlsInteraction"
- setSessionTlsInteraction :: (MonadIO m, IsSession o, IsTlsInteraction a) => o -> a -> m ()
- data SessionUseNtlmPropertyInfo
- constructSessionUseNtlm :: IsSession o => Bool -> IO (GValueConstruct o)
- getSessionUseNtlm :: (MonadIO m, IsSession o) => o -> m Bool
- sessionUseNtlm :: AttrLabelProxy "useNtlm"
- setSessionUseNtlm :: (MonadIO m, IsSession o) => o -> Bool -> m ()
- data SessionUseThreadContextPropertyInfo
- constructSessionUseThreadContext :: IsSession o => Bool -> IO (GValueConstruct o)
- getSessionUseThreadContext :: (MonadIO m, IsSession o) => o -> m Bool
- sessionUseThreadContext :: AttrLabelProxy "useThreadContext"
- setSessionUseThreadContext :: (MonadIO m, IsSession o) => o -> Bool -> m ()
- data SessionUserAgentPropertyInfo
- clearSessionUserAgent :: (MonadIO m, IsSession o) => o -> m ()
- constructSessionUserAgent :: IsSession o => Text -> IO (GValueConstruct o)
- getSessionUserAgent :: (MonadIO m, IsSession o) => o -> m (Maybe Text)
- sessionUserAgent :: AttrLabelProxy "userAgent"
- setSessionUserAgent :: (MonadIO m, IsSession 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
Constructors
| Session (ForeignPtr Session) |
Instances
| GObject Session Source # | |
| IsSession Session Source # | |
| IsObject Session Source # | |
| ((~) * info (ResolveSessionMethod t Session), MethodInfo * info Session p) => IsLabel t (Session -> p) Source # | |
| ((~) * info (ResolveSessionMethod t Session), MethodInfo * info Session p) => IsLabelProxy t (Session -> p) Source # | |
| HasAttributeList * Session Source # | |
| type SignalList Session Source # | |
| type AttributeList Session Source # | |
Methods
sessionAbort
sessionAbort :: (MonadIO m, IsSession a) => a -> m () Source #
sessionAddFeature
data SessionAddFeatureMethodInfo Source #
Instances
| ((~) * signature (b -> m ()), MonadIO m, IsSession a, IsSessionFeature b) => MethodInfo * SessionAddFeatureMethodInfo a signature Source # | |
sessionAddFeature :: (MonadIO m, IsSession a, IsSessionFeature b) => a -> b -> m () Source #
sessionAddFeatureByType
sessionAddFeatureByType :: (MonadIO m, IsSession a) => a -> GType -> m () Source #
sessionCancelMessage
sessionGetAsyncContext
sessionGetFeature
data SessionGetFeatureMethodInfo Source #
Instances
| ((~) * signature (GType -> m (Maybe SessionFeature)), MonadIO m, IsSession a) => MethodInfo * SessionGetFeatureMethodInfo a signature Source # | |
sessionGetFeature :: (MonadIO m, IsSession a) => a -> GType -> m (Maybe SessionFeature) Source #
sessionGetFeatureForMessage
data SessionGetFeatureForMessageMethodInfo Source #
Instances
| ((~) * signature (GType -> b -> m (Maybe SessionFeature)), MonadIO m, IsSession a, IsMessage b) => MethodInfo * SessionGetFeatureForMessageMethodInfo a signature Source # | |
sessionGetFeatureForMessage :: (MonadIO m, IsSession a, IsMessage b) => a -> GType -> b -> m (Maybe SessionFeature) Source #
sessionGetFeatures
data SessionGetFeaturesMethodInfo Source #
Instances
| ((~) * signature (GType -> m [SessionFeature]), MonadIO m, IsSession a) => MethodInfo * SessionGetFeaturesMethodInfo a signature Source # | |
sessionGetFeatures :: (MonadIO m, IsSession a) => a -> GType -> m [SessionFeature] Source #
sessionHasFeature
sessionNew
sessionNew :: MonadIO m => m Session Source #
sessionPauseMessage
sessionPrefetchDns
data SessionPrefetchDnsMethodInfo Source #
Instances
| ((~) * signature (Text -> Maybe b -> Maybe AddressCallback -> m ()), MonadIO m, IsSession a, IsCancellable b) => MethodInfo * SessionPrefetchDnsMethodInfo a signature Source # | |
sessionPrefetchDns :: (MonadIO m, IsSession a, IsCancellable b) => a -> Text -> Maybe b -> Maybe AddressCallback -> m () Source #
sessionPrepareForUri
sessionPrepareForUri :: (MonadIO m, IsSession a) => a -> URI -> m () Source #
Deprecated: (Since version 2.38)use soup_session_prefetch_dns() instead
sessionQueueMessage
data SessionQueueMessageMethodInfo Source #
Instances
| ((~) * signature (b -> Maybe SessionCallback -> m ()), MonadIO m, IsSession a, IsMessage b) => MethodInfo * SessionQueueMessageMethodInfo a signature Source # | |
sessionQueueMessage :: (MonadIO m, IsSession a, IsMessage b) => a -> b -> Maybe SessionCallback -> m () Source #
sessionRedirectMessage
sessionRemoveFeature
data SessionRemoveFeatureMethodInfo Source #
Instances
| ((~) * signature (b -> m ()), MonadIO m, IsSession a, IsSessionFeature b) => MethodInfo * SessionRemoveFeatureMethodInfo a signature Source # | |
sessionRemoveFeature :: (MonadIO m, IsSession a, IsSessionFeature b) => a -> b -> m () Source #
sessionRemoveFeatureByType
sessionRemoveFeatureByType :: (MonadIO m, IsSession a) => a -> GType -> m () Source #
sessionRequest
sessionRequestHttp
data SessionRequestHttpMethodInfo Source #
Instances
| ((~) * signature (Text -> Text -> m RequestHTTP), MonadIO m, IsSession a) => MethodInfo * SessionRequestHttpMethodInfo a signature Source # | |
sessionRequestHttp :: (MonadIO m, IsSession a) => a -> Text -> Text -> m RequestHTTP Source #
sessionRequestHttpUri
data SessionRequestHttpUriMethodInfo Source #
Instances
| ((~) * signature (Text -> URI -> m RequestHTTP), MonadIO m, IsSession a) => MethodInfo * SessionRequestHttpUriMethodInfo a signature Source # | |
sessionRequestHttpUri :: (MonadIO m, IsSession a) => a -> Text -> URI -> m RequestHTTP Source #
sessionRequestUri
sessionRequeueMessage
sessionSend
data SessionSendMethodInfo Source #
sessionSend :: (MonadIO m, IsSession a, IsMessage b, IsCancellable c) => a -> b -> Maybe c -> m InputStream Source #
sessionSendAsync
sessionSendAsync :: (MonadIO m, IsSession a, IsMessage b, IsCancellable c) => a -> b -> Maybe c -> Maybe AsyncReadyCallback -> m () Source #
sessionSendFinish
sessionSendFinish :: (MonadIO m, IsSession a, IsAsyncResult b) => a -> b -> m InputStream Source #
sessionSendMessage
sessionStealConnection
sessionUnpauseMessage
sessionWebsocketConnectAsync
sessionWebsocketConnectAsync :: (MonadIO m, IsSession a, IsMessage b, IsCancellable c) => a -> b -> Maybe Text -> Maybe [Text] -> Maybe c -> Maybe AsyncReadyCallback -> m () Source #
sessionWebsocketConnectFinish
data SessionWebsocketConnectFinishMethodInfo Source #
Instances
| ((~) * signature (b -> m WebsocketConnection), MonadIO m, IsSession a, IsAsyncResult b) => MethodInfo * SessionWebsocketConnectFinishMethodInfo a signature Source # | |
sessionWebsocketConnectFinish :: (MonadIO m, IsSession a, IsAsyncResult b) => a -> b -> m WebsocketConnection Source #
sessionWouldRedirect
Properties
AcceptLanguage
data SessionAcceptLanguagePropertyInfo Source #
Instances
| AttrInfo SessionAcceptLanguagePropertyInfo Source # | |
| type AttrSetTypeConstraint SessionAcceptLanguagePropertyInfo Source # | |
| type AttrLabel SessionAcceptLanguagePropertyInfo Source # | |
| type AttrGetType SessionAcceptLanguagePropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionAcceptLanguagePropertyInfo Source # | |
| type AttrAllowedOps SessionAcceptLanguagePropertyInfo Source # | |
clearSessionAcceptLanguage :: (MonadIO m, IsSession o) => o -> m () Source #
constructSessionAcceptLanguage :: IsSession o => Text -> IO (GValueConstruct o) Source #
sessionAcceptLanguage :: AttrLabelProxy "acceptLanguage" Source #
setSessionAcceptLanguage :: (MonadIO m, IsSession o) => o -> Text -> m () Source #
AcceptLanguageAuto
data SessionAcceptLanguageAutoPropertyInfo Source #
Instances
| AttrInfo SessionAcceptLanguageAutoPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionAcceptLanguageAutoPropertyInfo Source # | |
| type AttrLabel SessionAcceptLanguageAutoPropertyInfo Source # | |
| type AttrGetType SessionAcceptLanguageAutoPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionAcceptLanguageAutoPropertyInfo Source # | |
| type AttrAllowedOps SessionAcceptLanguageAutoPropertyInfo Source # | |
sessionAcceptLanguageAuto :: AttrLabelProxy "acceptLanguageAuto" Source #
AsyncContext
data SessionAsyncContextPropertyInfo Source #
Instances
| AttrInfo SessionAsyncContextPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionAsyncContextPropertyInfo Source # | |
| type AttrLabel SessionAsyncContextPropertyInfo Source # | |
| type AttrGetType SessionAsyncContextPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionAsyncContextPropertyInfo Source # | |
| type AttrAllowedOps SessionAsyncContextPropertyInfo Source # | |
sessionAsyncContext :: AttrLabelProxy "asyncContext" Source #
HttpAliases
data SessionHttpAliasesPropertyInfo Source #
Instances
| AttrInfo SessionHttpAliasesPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionHttpAliasesPropertyInfo Source # | |
| type AttrLabel SessionHttpAliasesPropertyInfo Source # | |
| type AttrGetType SessionHttpAliasesPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionHttpAliasesPropertyInfo Source # | |
| type AttrAllowedOps SessionHttpAliasesPropertyInfo Source # | |
clearSessionHttpAliases :: (MonadIO m, IsSession o) => o -> m () Source #
constructSessionHttpAliases :: IsSession o => [Text] -> IO (GValueConstruct o) Source #
sessionHttpAliases :: AttrLabelProxy "httpAliases" Source #
setSessionHttpAliases :: (MonadIO m, IsSession o) => o -> [Text] -> m () Source #
HttpsAliases
data SessionHttpsAliasesPropertyInfo Source #
Instances
| AttrInfo SessionHttpsAliasesPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionHttpsAliasesPropertyInfo Source # | |
| type AttrLabel SessionHttpsAliasesPropertyInfo Source # | |
| type AttrGetType SessionHttpsAliasesPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionHttpsAliasesPropertyInfo Source # | |
| type AttrAllowedOps SessionHttpsAliasesPropertyInfo Source # | |
clearSessionHttpsAliases :: (MonadIO m, IsSession o) => o -> m () Source #
constructSessionHttpsAliases :: IsSession o => [Text] -> IO (GValueConstruct o) Source #
sessionHttpsAliases :: AttrLabelProxy "httpsAliases" Source #
setSessionHttpsAliases :: (MonadIO m, IsSession o) => o -> [Text] -> m () Source #
IdleTimeout
data SessionIdleTimeoutPropertyInfo Source #
Instances
| AttrInfo SessionIdleTimeoutPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionIdleTimeoutPropertyInfo Source # | |
| type AttrLabel SessionIdleTimeoutPropertyInfo Source # | |
| type AttrGetType SessionIdleTimeoutPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionIdleTimeoutPropertyInfo Source # | |
| type AttrAllowedOps SessionIdleTimeoutPropertyInfo Source # | |
sessionIdleTimeout :: AttrLabelProxy "idleTimeout" Source #
LocalAddress
data SessionLocalAddressPropertyInfo Source #
Instances
| AttrInfo SessionLocalAddressPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionLocalAddressPropertyInfo Source # | |
| type AttrLabel SessionLocalAddressPropertyInfo Source # | |
| type AttrGetType SessionLocalAddressPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionLocalAddressPropertyInfo Source # | |
| type AttrAllowedOps SessionLocalAddressPropertyInfo Source # | |
sessionLocalAddress :: AttrLabelProxy "localAddress" Source #
MaxConns
data SessionMaxConnsPropertyInfo Source #
Instances
| AttrInfo SessionMaxConnsPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionMaxConnsPropertyInfo Source # | |
| type AttrLabel SessionMaxConnsPropertyInfo Source # | |
| type AttrGetType SessionMaxConnsPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionMaxConnsPropertyInfo Source # | |
| type AttrAllowedOps SessionMaxConnsPropertyInfo Source # | |
sessionMaxConns :: AttrLabelProxy "maxConns" Source #
MaxConnsPerHost
data SessionMaxConnsPerHostPropertyInfo Source #
Instances
| AttrInfo SessionMaxConnsPerHostPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionMaxConnsPerHostPropertyInfo Source # | |
| type AttrLabel SessionMaxConnsPerHostPropertyInfo Source # | |
| type AttrGetType SessionMaxConnsPerHostPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionMaxConnsPerHostPropertyInfo Source # | |
| type AttrAllowedOps SessionMaxConnsPerHostPropertyInfo Source # | |
sessionMaxConnsPerHost :: AttrLabelProxy "maxConnsPerHost" Source #
ProxyResolver
data SessionProxyResolverPropertyInfo Source #
Instances
| AttrInfo SessionProxyResolverPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionProxyResolverPropertyInfo Source # | |
| type AttrLabel SessionProxyResolverPropertyInfo Source # | |
| type AttrGetType SessionProxyResolverPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionProxyResolverPropertyInfo Source # | |
| type AttrAllowedOps SessionProxyResolverPropertyInfo Source # | |
clearSessionProxyResolver :: (MonadIO m, IsSession o) => o -> m () Source #
constructSessionProxyResolver :: (IsSession o, IsProxyResolver a) => a -> IO (GValueConstruct o) Source #
sessionProxyResolver :: AttrLabelProxy "proxyResolver" Source #
setSessionProxyResolver :: (MonadIO m, IsSession o, IsProxyResolver a) => o -> a -> m () Source #
ProxyUri
data SessionProxyUriPropertyInfo Source #
Instances
| AttrInfo SessionProxyUriPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionProxyUriPropertyInfo Source # | |
| type AttrLabel SessionProxyUriPropertyInfo Source # | |
| type AttrGetType SessionProxyUriPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionProxyUriPropertyInfo Source # | |
| type AttrAllowedOps SessionProxyUriPropertyInfo Source # | |
clearSessionProxyUri :: (MonadIO m, IsSession o) => o -> m () Source #
sessionProxyUri :: AttrLabelProxy "proxyUri" Source #
SslCaFile
data SessionSslCaFilePropertyInfo Source #
Instances
| AttrInfo SessionSslCaFilePropertyInfo Source # | |
| type AttrSetTypeConstraint SessionSslCaFilePropertyInfo Source # | |
| type AttrLabel SessionSslCaFilePropertyInfo Source # | |
| type AttrGetType SessionSslCaFilePropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionSslCaFilePropertyInfo Source # | |
| type AttrAllowedOps SessionSslCaFilePropertyInfo Source # | |
clearSessionSslCaFile :: (MonadIO m, IsSession o) => o -> m () Source #
constructSessionSslCaFile :: IsSession o => Text -> IO (GValueConstruct o) Source #
sessionSslCaFile :: AttrLabelProxy "sslCaFile" Source #
setSessionSslCaFile :: (MonadIO m, IsSession o) => o -> Text -> m () Source #
SslStrict
data SessionSslStrictPropertyInfo Source #
Instances
| AttrInfo SessionSslStrictPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionSslStrictPropertyInfo Source # | |
| type AttrLabel SessionSslStrictPropertyInfo Source # | |
| type AttrGetType SessionSslStrictPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionSslStrictPropertyInfo Source # | |
| type AttrAllowedOps SessionSslStrictPropertyInfo Source # | |
sessionSslStrict :: AttrLabelProxy "sslStrict" Source #
SslUseSystemCaFile
data SessionSslUseSystemCaFilePropertyInfo Source #
Instances
| AttrInfo SessionSslUseSystemCaFilePropertyInfo Source # | |
| type AttrSetTypeConstraint SessionSslUseSystemCaFilePropertyInfo Source # | |
| type AttrLabel SessionSslUseSystemCaFilePropertyInfo Source # | |
| type AttrGetType SessionSslUseSystemCaFilePropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionSslUseSystemCaFilePropertyInfo Source # | |
| type AttrAllowedOps SessionSslUseSystemCaFilePropertyInfo Source # | |
sessionSslUseSystemCaFile :: AttrLabelProxy "sslUseSystemCaFile" Source #
Timeout
data SessionTimeoutPropertyInfo Source #
Instances
| AttrInfo SessionTimeoutPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionTimeoutPropertyInfo Source # | |
| type AttrLabel SessionTimeoutPropertyInfo Source # | |
| type AttrGetType SessionTimeoutPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionTimeoutPropertyInfo Source # | |
| type AttrAllowedOps SessionTimeoutPropertyInfo Source # | |
sessionTimeout :: AttrLabelProxy "timeout" Source #
TlsDatabase
data SessionTlsDatabasePropertyInfo Source #
Instances
| AttrInfo SessionTlsDatabasePropertyInfo Source # | |
| type AttrSetTypeConstraint SessionTlsDatabasePropertyInfo Source # | |
| type AttrLabel SessionTlsDatabasePropertyInfo Source # | |
| type AttrGetType SessionTlsDatabasePropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionTlsDatabasePropertyInfo Source # | |
| type AttrAllowedOps SessionTlsDatabasePropertyInfo Source # | |
clearSessionTlsDatabase :: (MonadIO m, IsSession o) => o -> m () Source #
constructSessionTlsDatabase :: (IsSession o, IsTlsDatabase a) => a -> IO (GValueConstruct o) Source #
sessionTlsDatabase :: AttrLabelProxy "tlsDatabase" Source #
setSessionTlsDatabase :: (MonadIO m, IsSession o, IsTlsDatabase a) => o -> a -> m () Source #
TlsInteraction
data SessionTlsInteractionPropertyInfo Source #
Instances
| AttrInfo SessionTlsInteractionPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionTlsInteractionPropertyInfo Source # | |
| type AttrLabel SessionTlsInteractionPropertyInfo Source # | |
| type AttrGetType SessionTlsInteractionPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionTlsInteractionPropertyInfo Source # | |
| type AttrAllowedOps SessionTlsInteractionPropertyInfo Source # | |
clearSessionTlsInteraction :: (MonadIO m, IsSession o) => o -> m () Source #
constructSessionTlsInteraction :: (IsSession o, IsTlsInteraction a) => a -> IO (GValueConstruct o) Source #
sessionTlsInteraction :: AttrLabelProxy "tlsInteraction" Source #
setSessionTlsInteraction :: (MonadIO m, IsSession o, IsTlsInteraction a) => o -> a -> m () Source #
UseNtlm
data SessionUseNtlmPropertyInfo Source #
Instances
| AttrInfo SessionUseNtlmPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionUseNtlmPropertyInfo Source # | |
| type AttrLabel SessionUseNtlmPropertyInfo Source # | |
| type AttrGetType SessionUseNtlmPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionUseNtlmPropertyInfo Source # | |
| type AttrAllowedOps SessionUseNtlmPropertyInfo Source # | |
sessionUseNtlm :: AttrLabelProxy "useNtlm" Source #
UseThreadContext
data SessionUseThreadContextPropertyInfo Source #
Instances
| AttrInfo SessionUseThreadContextPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionUseThreadContextPropertyInfo Source # | |
| type AttrLabel SessionUseThreadContextPropertyInfo Source # | |
| type AttrGetType SessionUseThreadContextPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionUseThreadContextPropertyInfo Source # | |
| type AttrAllowedOps SessionUseThreadContextPropertyInfo Source # | |
sessionUseThreadContext :: AttrLabelProxy "useThreadContext" Source #
UserAgent
data SessionUserAgentPropertyInfo Source #
Instances
| AttrInfo SessionUserAgentPropertyInfo Source # | |
| type AttrSetTypeConstraint SessionUserAgentPropertyInfo Source # | |
| type AttrLabel SessionUserAgentPropertyInfo Source # | |
| type AttrGetType SessionUserAgentPropertyInfo Source # | |
| type AttrBaseTypeConstraint SessionUserAgentPropertyInfo Source # | |
| type AttrAllowedOps SessionUserAgentPropertyInfo Source # | |
clearSessionUserAgent :: (MonadIO m, IsSession o) => o -> m () Source #
constructSessionUserAgent :: IsSession o => Text -> IO (GValueConstruct o) Source #
sessionUserAgent :: AttrLabelProxy "userAgent" Source #
setSessionUserAgent :: (MonadIO m, IsSession o) => o -> Text -> m () Source #
Signals
Authenticate
type SessionAuthenticateCallbackC = Ptr () -> Ptr Message -> Ptr Auth -> CInt -> Ptr () -> IO () Source #
data SessionAuthenticateSignalInfo Source #
Instances
| SignalInfo SessionAuthenticateSignalInfo Source # | |
| type HaskellCallbackType SessionAuthenticateSignalInfo 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 #
sessionAuthenticateClosure :: SessionAuthenticateCallback -> IO Closure Source #
ConnectionCreated
type SessionConnectionCreatedCallback = Object -> IO () Source #
data SessionConnectionCreatedSignalInfo Source #
Instances
| SignalInfo SessionConnectionCreatedSignalInfo Source # | |
| type HaskellCallbackType SessionConnectionCreatedSignalInfo 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 #
sessionConnectionCreatedClosure :: SessionConnectionCreatedCallback -> IO Closure Source #
RequestQueued
type SessionRequestQueuedCallback = Message -> IO () Source #
data SessionRequestQueuedSignalInfo Source #
Instances
| SignalInfo SessionRequestQueuedSignalInfo Source # | |
| type HaskellCallbackType SessionRequestQueuedSignalInfo 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 #
sessionRequestQueuedClosure :: SessionRequestQueuedCallback -> IO Closure Source #
RequestStarted
type SessionRequestStartedCallbackC = Ptr () -> Ptr Message -> Ptr Socket -> Ptr () -> IO () Source #
data SessionRequestStartedSignalInfo Source #
Instances
| SignalInfo SessionRequestStartedSignalInfo Source # | |
| type HaskellCallbackType SessionRequestStartedSignalInfo 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 #
sessionRequestStartedClosure :: SessionRequestStartedCallback -> IO Closure Source #
RequestUnqueued
type SessionRequestUnqueuedCallback = Message -> IO () Source #
data SessionRequestUnqueuedSignalInfo Source #
Instances
| SignalInfo SessionRequestUnqueuedSignalInfo Source # | |
| type HaskellCallbackType SessionRequestUnqueuedSignalInfo 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 #
sessionRequestUnqueuedClosure :: SessionRequestUnqueuedCallback -> IO Closure Source #
Tunneling
type SessionTunnelingCallback = Object -> IO () Source #
data SessionTunnelingSignalInfo Source #
Instances
| SignalInfo SessionTunnelingSignalInfo Source # | |
| type HaskellCallbackType SessionTunnelingSignalInfo 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 #
sessionTunnelingClosure :: SessionTunnelingCallback -> IO Closure Source #