| 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 => SessionK o
- toSession :: SessionK o => o -> IO Session
- noSession :: Maybe Session
- sessionAbort :: (MonadIO m, SessionK a) => a -> m ()
- sessionAddFeature :: (MonadIO m, SessionK a, SessionFeatureK b) => a -> b -> m ()
- sessionAddFeatureByType :: (MonadIO m, SessionK a) => a -> GType -> m ()
- sessionCancelMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> Word32 -> m ()
- sessionGetAsyncContext :: (MonadIO m, SessionK a) => a -> m MainContext
- sessionGetFeature :: (MonadIO m, SessionK a) => a -> GType -> m SessionFeature
- sessionGetFeatureForMessage :: (MonadIO m, SessionK a, MessageK b) => a -> GType -> b -> m SessionFeature
- sessionGetFeatures :: (MonadIO m, SessionK a) => a -> GType -> m [SessionFeature]
- sessionHasFeature :: (MonadIO m, SessionK a) => a -> GType -> m Bool
- sessionNew :: MonadIO m => m Session
- sessionPauseMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m ()
- sessionPrefetchDns :: (MonadIO m, SessionK a, CancellableK b) => a -> Text -> Maybe b -> Maybe AddressCallback -> m ()
- sessionPrepareForUri :: (MonadIO m, SessionK a) => a -> URI -> m ()
- sessionQueueMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> Maybe SessionCallback -> m ()
- sessionRedirectMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m Bool
- sessionRemoveFeature :: (MonadIO m, SessionK a, SessionFeatureK b) => a -> b -> m ()
- sessionRemoveFeatureByType :: (MonadIO m, SessionK a) => a -> GType -> m ()
- sessionRequest :: (MonadIO m, SessionK a) => a -> Text -> m Request
- sessionRequestHttp :: (MonadIO m, SessionK a) => a -> Text -> Text -> m RequestHTTP
- sessionRequestHttpUri :: (MonadIO m, SessionK a) => a -> Text -> URI -> m RequestHTTP
- sessionRequestUri :: (MonadIO m, SessionK a) => a -> URI -> m Request
- sessionRequeueMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m ()
- sessionSend :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe c -> m InputStream
- sessionSendAsync :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- sessionSendFinish :: (MonadIO m, SessionK a, AsyncResultK b) => a -> b -> m InputStream
- sessionSendMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m Word32
- sessionStealConnection :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m IOStream
- sessionUnpauseMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m ()
- sessionWebsocketConnectAsync :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe Text -> Maybe [Text] -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- sessionWebsocketConnectFinish :: (MonadIO m, SessionK a, AsyncResultK b) => a -> b -> m WebsocketConnection
- sessionWouldRedirect :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m Bool
- data SessionAcceptLanguagePropertyInfo
- constructSessionAcceptLanguage :: Text -> IO ([Char], GValue)
- getSessionAcceptLanguage :: (MonadIO m, SessionK o) => o -> m Text
- setSessionAcceptLanguage :: (MonadIO m, SessionK o) => o -> Text -> m ()
- data SessionAcceptLanguageAutoPropertyInfo
- constructSessionAcceptLanguageAuto :: Bool -> IO ([Char], GValue)
- getSessionAcceptLanguageAuto :: (MonadIO m, SessionK o) => o -> m Bool
- setSessionAcceptLanguageAuto :: (MonadIO m, SessionK o) => o -> Bool -> m ()
- data SessionAsyncContextPropertyInfo
- constructSessionAsyncContext :: Ptr () -> IO ([Char], GValue)
- getSessionAsyncContext :: (MonadIO m, SessionK o) => o -> m (Ptr ())
- data SessionHttpAliasesPropertyInfo
- constructSessionHttpAliases :: [Text] -> IO ([Char], GValue)
- getSessionHttpAliases :: (MonadIO m, SessionK o) => o -> m [Text]
- setSessionHttpAliases :: (MonadIO m, SessionK o) => o -> [Text] -> m ()
- data SessionHttpsAliasesPropertyInfo
- constructSessionHttpsAliases :: [Text] -> IO ([Char], GValue)
- getSessionHttpsAliases :: (MonadIO m, SessionK o) => o -> m [Text]
- setSessionHttpsAliases :: (MonadIO m, SessionK o) => o -> [Text] -> m ()
- data SessionIdleTimeoutPropertyInfo
- constructSessionIdleTimeout :: Word32 -> IO ([Char], GValue)
- getSessionIdleTimeout :: (MonadIO m, SessionK o) => o -> m Word32
- setSessionIdleTimeout :: (MonadIO m, SessionK o) => o -> Word32 -> m ()
- data SessionLocalAddressPropertyInfo
- constructSessionLocalAddress :: AddressK a => a -> IO ([Char], GValue)
- getSessionLocalAddress :: (MonadIO m, SessionK o) => o -> m Address
- data SessionMaxConnsPropertyInfo
- constructSessionMaxConns :: Int32 -> IO ([Char], GValue)
- getSessionMaxConns :: (MonadIO m, SessionK o) => o -> m Int32
- setSessionMaxConns :: (MonadIO m, SessionK o) => o -> Int32 -> m ()
- data SessionMaxConnsPerHostPropertyInfo
- constructSessionMaxConnsPerHost :: Int32 -> IO ([Char], GValue)
- getSessionMaxConnsPerHost :: (MonadIO m, SessionK o) => o -> m Int32
- setSessionMaxConnsPerHost :: (MonadIO m, SessionK o) => o -> Int32 -> m ()
- data SessionProxyResolverPropertyInfo
- constructSessionProxyResolver :: ProxyResolverK a => a -> IO ([Char], GValue)
- getSessionProxyResolver :: (MonadIO m, SessionK o) => o -> m ProxyResolver
- setSessionProxyResolver :: (MonadIO m, SessionK o, ProxyResolverK a) => o -> a -> m ()
- data SessionProxyUriPropertyInfo
- constructSessionProxyUri :: URI -> IO ([Char], GValue)
- getSessionProxyUri :: (MonadIO m, SessionK o) => o -> m URI
- setSessionProxyUri :: (MonadIO m, SessionK o) => o -> URI -> m ()
- data SessionSslCaFilePropertyInfo
- constructSessionSslCaFile :: Text -> IO ([Char], GValue)
- getSessionSslCaFile :: (MonadIO m, SessionK o) => o -> m Text
- setSessionSslCaFile :: (MonadIO m, SessionK o) => o -> Text -> m ()
- data SessionSslStrictPropertyInfo
- constructSessionSslStrict :: Bool -> IO ([Char], GValue)
- getSessionSslStrict :: (MonadIO m, SessionK o) => o -> m Bool
- setSessionSslStrict :: (MonadIO m, SessionK o) => o -> Bool -> m ()
- data SessionSslUseSystemCaFilePropertyInfo
- constructSessionSslUseSystemCaFile :: Bool -> IO ([Char], GValue)
- getSessionSslUseSystemCaFile :: (MonadIO m, SessionK o) => o -> m Bool
- setSessionSslUseSystemCaFile :: (MonadIO m, SessionK o) => o -> Bool -> m ()
- data SessionTimeoutPropertyInfo
- constructSessionTimeout :: Word32 -> IO ([Char], GValue)
- getSessionTimeout :: (MonadIO m, SessionK o) => o -> m Word32
- setSessionTimeout :: (MonadIO m, SessionK o) => o -> Word32 -> m ()
- data SessionTlsDatabasePropertyInfo
- constructSessionTlsDatabase :: TlsDatabaseK a => a -> IO ([Char], GValue)
- getSessionTlsDatabase :: (MonadIO m, SessionK o) => o -> m TlsDatabase
- setSessionTlsDatabase :: (MonadIO m, SessionK o, TlsDatabaseK a) => o -> a -> m ()
- data SessionTlsInteractionPropertyInfo
- constructSessionTlsInteraction :: TlsInteractionK a => a -> IO ([Char], GValue)
- getSessionTlsInteraction :: (MonadIO m, SessionK o) => o -> m 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
- setSessionUseNtlm :: (MonadIO m, SessionK o) => o -> Bool -> m ()
- data SessionUseThreadContextPropertyInfo
- constructSessionUseThreadContext :: Bool -> IO ([Char], GValue)
- getSessionUseThreadContext :: (MonadIO m, SessionK o) => o -> m Bool
- setSessionUseThreadContext :: (MonadIO m, SessionK o) => o -> Bool -> m ()
- data SessionUserAgentPropertyInfo
- constructSessionUserAgent :: Text -> IO ([Char], GValue)
- getSessionUserAgent :: (MonadIO m, SessionK o) => o -> m Text
- 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
Constructors
| Session (ForeignPtr Session) |
Instances
| GObject Session | |
| type ParentTypes Session | |
| type AttributeList Session | |
| type SignalList Session |
Methods
sessionAbort
sessionAbort :: (MonadIO m, SessionK a) => a -> m () Source
sessionAddFeature
sessionAddFeature :: (MonadIO m, SessionK a, SessionFeatureK b) => a -> b -> m () Source
sessionAddFeatureByType
sessionAddFeatureByType :: (MonadIO m, SessionK a) => a -> GType -> m () Source
sessionCancelMessage
sessionGetAsyncContext
sessionGetAsyncContext :: (MonadIO m, SessionK a) => a -> m MainContext Source
sessionGetFeature
sessionGetFeature :: (MonadIO m, SessionK a) => a -> GType -> m SessionFeature Source
sessionGetFeatureForMessage
sessionGetFeatureForMessage :: (MonadIO m, SessionK a, MessageK b) => a -> GType -> b -> m SessionFeature Source
sessionGetFeatures
sessionGetFeatures :: (MonadIO m, SessionK a) => a -> GType -> m [SessionFeature] Source
sessionHasFeature
sessionNew
sessionNew :: MonadIO m => m Session Source
sessionPauseMessage
sessionPauseMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m () Source
sessionPrefetchDns
sessionPrefetchDns :: (MonadIO m, SessionK a, CancellableK b) => a -> Text -> Maybe b -> Maybe AddressCallback -> m () Source
sessionPrepareForUri
sessionPrepareForUri :: (MonadIO m, SessionK a) => a -> URI -> m () Source
Deprecated: (Since version 2.38)use soup_session_prefetch_dns() instead
sessionQueueMessage
sessionQueueMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> Maybe SessionCallback -> m () Source
sessionRedirectMessage
sessionRemoveFeature
sessionRemoveFeature :: (MonadIO m, SessionK a, SessionFeatureK b) => a -> b -> m () Source
sessionRemoveFeatureByType
sessionRemoveFeatureByType :: (MonadIO m, SessionK a) => a -> GType -> m () Source
sessionRequest
sessionRequestHttp
sessionRequestHttp :: (MonadIO m, SessionK a) => a -> Text -> Text -> m RequestHTTP Source
sessionRequestHttpUri
sessionRequestHttpUri :: (MonadIO m, SessionK a) => a -> Text -> URI -> m RequestHTTP Source
sessionRequestUri
sessionRequeueMessage
sessionRequeueMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m () Source
sessionSend
sessionSend :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe c -> m InputStream Source
sessionSendAsync
sessionSendAsync :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe c -> Maybe AsyncReadyCallback -> m () Source
sessionSendFinish
sessionSendFinish :: (MonadIO m, SessionK a, AsyncResultK b) => a -> b -> m InputStream Source
sessionSendMessage
sessionStealConnection
sessionUnpauseMessage
sessionUnpauseMessage :: (MonadIO m, SessionK a, MessageK b) => a -> b -> m () Source
sessionWebsocketConnectAsync
sessionWebsocketConnectAsync :: (MonadIO m, SessionK a, MessageK b, CancellableK c) => a -> b -> Maybe Text -> Maybe [Text] -> Maybe c -> Maybe AsyncReadyCallback -> m () Source
sessionWebsocketConnectFinish
sessionWebsocketConnectFinish :: (MonadIO m, SessionK a, AsyncResultK b) => a -> b -> m WebsocketConnection Source
sessionWouldRedirect
Properties
AcceptLanguage
data SessionAcceptLanguagePropertyInfo Source
Instances
| AttrInfo SessionAcceptLanguagePropertyInfo | |
| type AttrLabel SessionAcceptLanguagePropertyInfo = "Session::accept-language" | |
| type AttrGetType SessionAcceptLanguagePropertyInfo = Text | |
| type AttrBaseTypeConstraint SessionAcceptLanguagePropertyInfo = SessionK | |
| type AttrSetTypeConstraint SessionAcceptLanguagePropertyInfo = * ~ Text | |
| type AttrAllowedOps SessionAcceptLanguagePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionAcceptLanguage :: (MonadIO m, SessionK o) => o -> m Text Source
setSessionAcceptLanguage :: (MonadIO m, SessionK o) => o -> Text -> m () Source
AcceptLanguageAuto
data SessionAcceptLanguageAutoPropertyInfo Source
Instances
| AttrInfo SessionAcceptLanguageAutoPropertyInfo | |
| type AttrLabel SessionAcceptLanguageAutoPropertyInfo = "Session::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
setSessionAcceptLanguageAuto :: (MonadIO m, SessionK o) => o -> Bool -> m () Source
AsyncContext
data SessionAsyncContextPropertyInfo Source
Instances
| AttrInfo SessionAsyncContextPropertyInfo | |
| type AttrLabel SessionAsyncContextPropertyInfo = "Session::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
HttpAliases
data SessionHttpAliasesPropertyInfo Source
Instances
| AttrInfo SessionHttpAliasesPropertyInfo | |
| type AttrLabel SessionHttpAliasesPropertyInfo = "Session::http-aliases" | |
| type AttrGetType SessionHttpAliasesPropertyInfo = [Text] | |
| type AttrBaseTypeConstraint SessionHttpAliasesPropertyInfo = SessionK | |
| type AttrSetTypeConstraint SessionHttpAliasesPropertyInfo = * ~ [Text] | |
| type AttrAllowedOps SessionHttpAliasesPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionHttpAliases :: (MonadIO m, SessionK o) => o -> m [Text] Source
setSessionHttpAliases :: (MonadIO m, SessionK o) => o -> [Text] -> m () Source
HttpsAliases
data SessionHttpsAliasesPropertyInfo Source
Instances
| AttrInfo SessionHttpsAliasesPropertyInfo | |
| type AttrLabel SessionHttpsAliasesPropertyInfo = "Session::https-aliases" | |
| type AttrGetType SessionHttpsAliasesPropertyInfo = [Text] | |
| type AttrBaseTypeConstraint SessionHttpsAliasesPropertyInfo = SessionK | |
| type AttrSetTypeConstraint SessionHttpsAliasesPropertyInfo = * ~ [Text] | |
| type AttrAllowedOps SessionHttpsAliasesPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionHttpsAliases :: (MonadIO m, SessionK o) => o -> m [Text] Source
setSessionHttpsAliases :: (MonadIO m, SessionK o) => o -> [Text] -> m () Source
IdleTimeout
data SessionIdleTimeoutPropertyInfo Source
Instances
| AttrInfo SessionIdleTimeoutPropertyInfo | |
| type AttrLabel SessionIdleTimeoutPropertyInfo = "Session::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
setSessionIdleTimeout :: (MonadIO m, SessionK o) => o -> Word32 -> m () Source
LocalAddress
data SessionLocalAddressPropertyInfo Source
Instances
| AttrInfo SessionLocalAddressPropertyInfo | |
| type AttrLabel SessionLocalAddressPropertyInfo = "Session::local-address" | |
| type AttrGetType SessionLocalAddressPropertyInfo = Address | |
| type AttrBaseTypeConstraint SessionLocalAddressPropertyInfo = SessionK | |
| type AttrSetTypeConstraint SessionLocalAddressPropertyInfo = AddressK | |
| type AttrAllowedOps SessionLocalAddressPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getSessionLocalAddress :: (MonadIO m, SessionK o) => o -> m Address Source
MaxConns
data SessionMaxConnsPropertyInfo Source
Instances
| AttrInfo SessionMaxConnsPropertyInfo | |
| type AttrLabel SessionMaxConnsPropertyInfo = "Session::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
setSessionMaxConns :: (MonadIO m, SessionK o) => o -> Int32 -> m () Source
MaxConnsPerHost
data SessionMaxConnsPerHostPropertyInfo Source
Instances
| AttrInfo SessionMaxConnsPerHostPropertyInfo | |
| type AttrLabel SessionMaxConnsPerHostPropertyInfo = "Session::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
setSessionMaxConnsPerHost :: (MonadIO m, SessionK o) => o -> Int32 -> m () Source
ProxyResolver
data SessionProxyResolverPropertyInfo Source
Instances
| AttrInfo SessionProxyResolverPropertyInfo | |
| type AttrLabel SessionProxyResolverPropertyInfo = "Session::proxy-resolver" | |
| type AttrGetType SessionProxyResolverPropertyInfo = ProxyResolver | |
| type AttrBaseTypeConstraint SessionProxyResolverPropertyInfo = SessionK | |
| type AttrSetTypeConstraint SessionProxyResolverPropertyInfo = ProxyResolverK | |
| type AttrAllowedOps SessionProxyResolverPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
constructSessionProxyResolver :: ProxyResolverK a => a -> IO ([Char], GValue) Source
getSessionProxyResolver :: (MonadIO m, SessionK o) => o -> m ProxyResolver Source
setSessionProxyResolver :: (MonadIO m, SessionK o, ProxyResolverK a) => o -> a -> m () Source
ProxyUri
data SessionProxyUriPropertyInfo Source
Instances
| AttrInfo SessionProxyUriPropertyInfo | |
| type AttrLabel SessionProxyUriPropertyInfo = "Session::proxy-uri" | |
| type AttrGetType SessionProxyUriPropertyInfo = URI | |
| type AttrBaseTypeConstraint SessionProxyUriPropertyInfo = SessionK | |
| type AttrSetTypeConstraint SessionProxyUriPropertyInfo = * ~ URI | |
| type AttrAllowedOps SessionProxyUriPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionProxyUri :: (MonadIO m, SessionK o) => o -> m URI Source
setSessionProxyUri :: (MonadIO m, SessionK o) => o -> URI -> m () Source
SslCaFile
data SessionSslCaFilePropertyInfo Source
Instances
| AttrInfo SessionSslCaFilePropertyInfo | |
| type AttrLabel SessionSslCaFilePropertyInfo = "Session::ssl-ca-file" | |
| type AttrGetType SessionSslCaFilePropertyInfo = Text | |
| type AttrBaseTypeConstraint SessionSslCaFilePropertyInfo = SessionK | |
| type AttrSetTypeConstraint SessionSslCaFilePropertyInfo = * ~ Text | |
| type AttrAllowedOps SessionSslCaFilePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionSslCaFile :: (MonadIO m, SessionK o) => o -> m Text Source
setSessionSslCaFile :: (MonadIO m, SessionK o) => o -> Text -> m () Source
SslStrict
data SessionSslStrictPropertyInfo Source
Instances
| AttrInfo SessionSslStrictPropertyInfo | |
| type AttrLabel SessionSslStrictPropertyInfo = "Session::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
setSessionSslStrict :: (MonadIO m, SessionK o) => o -> Bool -> m () Source
SslUseSystemCaFile
data SessionSslUseSystemCaFilePropertyInfo Source
Instances
| AttrInfo SessionSslUseSystemCaFilePropertyInfo | |
| type AttrLabel SessionSslUseSystemCaFilePropertyInfo = "Session::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
setSessionSslUseSystemCaFile :: (MonadIO m, SessionK o) => o -> Bool -> m () Source
Timeout
data SessionTimeoutPropertyInfo Source
Instances
| AttrInfo SessionTimeoutPropertyInfo | |
| type AttrLabel SessionTimeoutPropertyInfo = "Session::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
setSessionTimeout :: (MonadIO m, SessionK o) => o -> Word32 -> m () Source
TlsDatabase
data SessionTlsDatabasePropertyInfo Source
Instances
| AttrInfo SessionTlsDatabasePropertyInfo | |
| type AttrLabel SessionTlsDatabasePropertyInfo = "Session::tls-database" | |
| type AttrGetType SessionTlsDatabasePropertyInfo = TlsDatabase | |
| type AttrBaseTypeConstraint SessionTlsDatabasePropertyInfo = SessionK | |
| type AttrSetTypeConstraint SessionTlsDatabasePropertyInfo = TlsDatabaseK | |
| type AttrAllowedOps SessionTlsDatabasePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
constructSessionTlsDatabase :: TlsDatabaseK a => a -> IO ([Char], GValue) Source
getSessionTlsDatabase :: (MonadIO m, SessionK o) => o -> m TlsDatabase Source
setSessionTlsDatabase :: (MonadIO m, SessionK o, TlsDatabaseK a) => o -> a -> m () Source
TlsInteraction
data SessionTlsInteractionPropertyInfo Source
Instances
| AttrInfo SessionTlsInteractionPropertyInfo | |
| type AttrLabel SessionTlsInteractionPropertyInfo = "Session::tls-interaction" | |
| type AttrGetType SessionTlsInteractionPropertyInfo = TlsInteraction | |
| type AttrBaseTypeConstraint SessionTlsInteractionPropertyInfo = SessionK | |
| type AttrSetTypeConstraint SessionTlsInteractionPropertyInfo = TlsInteractionK | |
| type AttrAllowedOps SessionTlsInteractionPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
constructSessionTlsInteraction :: TlsInteractionK a => a -> IO ([Char], GValue) Source
getSessionTlsInteraction :: (MonadIO m, SessionK o) => o -> m TlsInteraction Source
setSessionTlsInteraction :: (MonadIO m, SessionK o, TlsInteractionK a) => o -> a -> m () Source
UseNtlm
data SessionUseNtlmPropertyInfo Source
Instances
| AttrInfo SessionUseNtlmPropertyInfo | |
| type AttrLabel SessionUseNtlmPropertyInfo = "Session::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
setSessionUseNtlm :: (MonadIO m, SessionK o) => o -> Bool -> m () Source
UseThreadContext
data SessionUseThreadContextPropertyInfo Source
Instances
| AttrInfo SessionUseThreadContextPropertyInfo | |
| type AttrLabel SessionUseThreadContextPropertyInfo = "Session::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
setSessionUseThreadContext :: (MonadIO m, SessionK o) => o -> Bool -> m () Source
UserAgent
data SessionUserAgentPropertyInfo Source
Instances
| AttrInfo SessionUserAgentPropertyInfo | |
| type AttrLabel SessionUserAgentPropertyInfo = "Session::user-agent" | |
| type AttrGetType SessionUserAgentPropertyInfo = Text | |
| type AttrBaseTypeConstraint SessionUserAgentPropertyInfo = SessionK | |
| type AttrSetTypeConstraint SessionUserAgentPropertyInfo = * ~ Text | |
| type AttrAllowedOps SessionUserAgentPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSessionUserAgent :: (MonadIO m, SessionK o) => o -> m Text 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