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 |
- newtype CookieJar = CookieJar (ForeignPtr CookieJar)
- class GObject o => CookieJarK o
- toCookieJar :: CookieJarK o => o -> IO CookieJar
- noCookieJar :: Maybe CookieJar
- data CookieJarAddCookieMethodInfo
- cookieJarAddCookie :: (MonadIO m, CookieJarK a) => a -> Cookie -> m ()
- data CookieJarAddCookieWithFirstPartyMethodInfo
- cookieJarAddCookieWithFirstParty :: (MonadIO m, CookieJarK a) => a -> URI -> Cookie -> m ()
- data CookieJarAllCookiesMethodInfo
- cookieJarAllCookies :: (MonadIO m, CookieJarK a) => a -> m [Cookie]
- data CookieJarDeleteCookieMethodInfo
- cookieJarDeleteCookie :: (MonadIO m, CookieJarK a) => a -> Cookie -> m ()
- data CookieJarGetAcceptPolicyMethodInfo
- cookieJarGetAcceptPolicy :: (MonadIO m, CookieJarK a) => a -> m CookieJarAcceptPolicy
- data CookieJarGetCookieListMethodInfo
- cookieJarGetCookieList :: (MonadIO m, CookieJarK a) => a -> URI -> Bool -> m [Cookie]
- data CookieJarGetCookiesMethodInfo
- cookieJarGetCookies :: (MonadIO m, CookieJarK a) => a -> URI -> Bool -> m (Maybe Text)
- data CookieJarIsPersistentMethodInfo
- cookieJarIsPersistent :: (MonadIO m, CookieJarK a) => a -> m Bool
- cookieJarNew :: MonadIO m => m CookieJar
- data CookieJarSaveMethodInfo
- cookieJarSave :: (MonadIO m, CookieJarK a) => a -> m ()
- data CookieJarSetAcceptPolicyMethodInfo
- cookieJarSetAcceptPolicy :: (MonadIO m, CookieJarK a) => a -> CookieJarAcceptPolicy -> m ()
- data CookieJarSetCookieMethodInfo
- cookieJarSetCookie :: (MonadIO m, CookieJarK a) => a -> URI -> Text -> m ()
- data CookieJarSetCookieWithFirstPartyMethodInfo
- cookieJarSetCookieWithFirstParty :: (MonadIO m, CookieJarK a) => a -> URI -> URI -> Text -> m ()
- data CookieJarAcceptPolicyPropertyInfo
- constructCookieJarAcceptPolicy :: CookieJarAcceptPolicy -> IO ([Char], GValue)
- cookieJarAcceptPolicy :: AttrLabelProxy "acceptPolicy"
- getCookieJarAcceptPolicy :: (MonadIO m, CookieJarK o) => o -> m CookieJarAcceptPolicy
- setCookieJarAcceptPolicy :: (MonadIO m, CookieJarK o) => o -> CookieJarAcceptPolicy -> m ()
- data CookieJarReadOnlyPropertyInfo
- constructCookieJarReadOnly :: Bool -> IO ([Char], GValue)
- cookieJarReadOnly :: AttrLabelProxy "readOnly"
- getCookieJarReadOnly :: (MonadIO m, CookieJarK o) => o -> m Bool
- type CookieJarChangedCallback = Cookie -> Cookie -> IO ()
- type CookieJarChangedCallbackC = Ptr () -> Ptr Cookie -> Ptr Cookie -> Ptr () -> IO ()
- data CookieJarChangedSignalInfo
- afterCookieJarChanged :: (GObject a, MonadIO m) => a -> CookieJarChangedCallback -> m SignalHandlerId
- cookieJarChangedCallbackWrapper :: CookieJarChangedCallback -> Ptr () -> Ptr Cookie -> Ptr Cookie -> Ptr () -> IO ()
- cookieJarChangedClosure :: CookieJarChangedCallback -> IO Closure
- mkCookieJarChangedCallback :: CookieJarChangedCallbackC -> IO (FunPtr CookieJarChangedCallbackC)
- noCookieJarChangedCallback :: Maybe CookieJarChangedCallback
- onCookieJarChanged :: (GObject a, MonadIO m) => a -> CookieJarChangedCallback -> m SignalHandlerId
Exported types
GObject CookieJar | |
((~) * info (ResolveCookieJarMethod t CookieJar), MethodInfo * info CookieJar p) => IsLabelProxy t (CookieJar -> p) | |
type ParentTypes CookieJar | |
type AttributeList CookieJar | |
type SignalList CookieJar |
class GObject o => CookieJarK o Source
(GObject o, IsDescendantOf CookieJar o) => CookieJarK o |
toCookieJar :: CookieJarK o => o -> IO CookieJar Source
Methods
cookieJarAddCookie
data CookieJarAddCookieMethodInfo Source
((~) * signature (Cookie -> m ()), MonadIO m, CookieJarK a) => MethodInfo * CookieJarAddCookieMethodInfo a signature |
cookieJarAddCookie :: (MonadIO m, CookieJarK a) => a -> Cookie -> m () Source
cookieJarAddCookieWithFirstParty
data CookieJarAddCookieWithFirstPartyMethodInfo Source
((~) * signature (URI -> Cookie -> m ()), MonadIO m, CookieJarK a) => MethodInfo * CookieJarAddCookieWithFirstPartyMethodInfo a signature |
cookieJarAddCookieWithFirstParty :: (MonadIO m, CookieJarK a) => a -> URI -> Cookie -> m () Source
cookieJarAllCookies
data CookieJarAllCookiesMethodInfo Source
((~) * signature (m [Cookie]), MonadIO m, CookieJarK a) => MethodInfo * CookieJarAllCookiesMethodInfo a signature |
cookieJarAllCookies :: (MonadIO m, CookieJarK a) => a -> m [Cookie] Source
cookieJarDeleteCookie
data CookieJarDeleteCookieMethodInfo Source
((~) * signature (Cookie -> m ()), MonadIO m, CookieJarK a) => MethodInfo * CookieJarDeleteCookieMethodInfo a signature |
cookieJarDeleteCookie :: (MonadIO m, CookieJarK a) => a -> Cookie -> m () Source
cookieJarGetAcceptPolicy
data CookieJarGetAcceptPolicyMethodInfo Source
((~) * signature (m CookieJarAcceptPolicy), MonadIO m, CookieJarK a) => MethodInfo * CookieJarGetAcceptPolicyMethodInfo a signature |
cookieJarGetAcceptPolicy :: (MonadIO m, CookieJarK a) => a -> m CookieJarAcceptPolicy Source
cookieJarGetCookieList
data CookieJarGetCookieListMethodInfo Source
((~) * signature (URI -> Bool -> m [Cookie]), MonadIO m, CookieJarK a) => MethodInfo * CookieJarGetCookieListMethodInfo a signature |
cookieJarGetCookieList :: (MonadIO m, CookieJarK a) => a -> URI -> Bool -> m [Cookie] Source
cookieJarGetCookies
data CookieJarGetCookiesMethodInfo Source
((~) * signature (URI -> Bool -> m (Maybe Text)), MonadIO m, CookieJarK a) => MethodInfo * CookieJarGetCookiesMethodInfo a signature |
cookieJarGetCookies :: (MonadIO m, CookieJarK a) => a -> URI -> Bool -> m (Maybe Text) Source
cookieJarIsPersistent
data CookieJarIsPersistentMethodInfo Source
((~) * signature (m Bool), MonadIO m, CookieJarK a) => MethodInfo * CookieJarIsPersistentMethodInfo a signature |
cookieJarIsPersistent :: (MonadIO m, CookieJarK a) => a -> m Bool Source
cookieJarNew
cookieJarNew :: MonadIO m => m CookieJar Source
cookieJarSave
data CookieJarSaveMethodInfo Source
((~) * signature (m ()), MonadIO m, CookieJarK a) => MethodInfo * CookieJarSaveMethodInfo a signature |
cookieJarSave :: (MonadIO m, CookieJarK a) => a -> m () Source
Deprecated: This is a no-op.
cookieJarSetAcceptPolicy
data CookieJarSetAcceptPolicyMethodInfo Source
((~) * signature (CookieJarAcceptPolicy -> m ()), MonadIO m, CookieJarK a) => MethodInfo * CookieJarSetAcceptPolicyMethodInfo a signature |
cookieJarSetAcceptPolicy :: (MonadIO m, CookieJarK a) => a -> CookieJarAcceptPolicy -> m () Source
cookieJarSetCookie
data CookieJarSetCookieMethodInfo Source
((~) * signature (URI -> Text -> m ()), MonadIO m, CookieJarK a) => MethodInfo * CookieJarSetCookieMethodInfo a signature |
cookieJarSetCookie :: (MonadIO m, CookieJarK a) => a -> URI -> Text -> m () Source
cookieJarSetCookieWithFirstParty
data CookieJarSetCookieWithFirstPartyMethodInfo Source
((~) * signature (URI -> URI -> Text -> m ()), MonadIO m, CookieJarK a) => MethodInfo * CookieJarSetCookieWithFirstPartyMethodInfo a signature |
cookieJarSetCookieWithFirstParty :: (MonadIO m, CookieJarK a) => a -> URI -> URI -> Text -> m () Source
Properties
AcceptPolicy
data CookieJarAcceptPolicyPropertyInfo Source
cookieJarAcceptPolicy :: AttrLabelProxy "acceptPolicy" Source
getCookieJarAcceptPolicy :: (MonadIO m, CookieJarK o) => o -> m CookieJarAcceptPolicy Source
setCookieJarAcceptPolicy :: (MonadIO m, CookieJarK o) => o -> CookieJarAcceptPolicy -> m () Source
ReadOnly
data CookieJarReadOnlyPropertyInfo Source
AttrInfo CookieJarReadOnlyPropertyInfo | |
type AttrLabel CookieJarReadOnlyPropertyInfo = "read-only" | |
type AttrGetType CookieJarReadOnlyPropertyInfo = Bool | |
type AttrBaseTypeConstraint CookieJarReadOnlyPropertyInfo = CookieJarK | |
type AttrSetTypeConstraint CookieJarReadOnlyPropertyInfo = * ~ Bool | |
type AttrAllowedOps CookieJarReadOnlyPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
cookieJarReadOnly :: AttrLabelProxy "readOnly" Source
getCookieJarReadOnly :: (MonadIO m, CookieJarK o) => o -> m Bool Source
Signals
Changed
type CookieJarChangedCallback = Cookie -> Cookie -> IO () Source
afterCookieJarChanged :: (GObject a, MonadIO m) => a -> CookieJarChangedCallback -> m SignalHandlerId Source
cookieJarChangedCallbackWrapper :: CookieJarChangedCallback -> Ptr () -> Ptr Cookie -> Ptr Cookie -> Ptr () -> IO () Source
mkCookieJarChangedCallback :: CookieJarChangedCallbackC -> IO (FunPtr CookieJarChangedCallbackC) Source
onCookieJarChanged :: (GObject a, MonadIO m) => a -> CookieJarChangedCallback -> m SignalHandlerId Source