Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype SessionAsync = SessionAsync (ManagedPtr SessionAsync)
- class (GObject o, IsDescendantOf SessionAsync o) => IsSessionAsync o
- toSessionAsync :: (MonadIO m, IsSessionAsync o) => o -> m SessionAsync
- noSessionAsync :: Maybe SessionAsync
- sessionAsyncNew :: (HasCallStack, MonadIO m) => m SessionAsync
Exported types
newtype SessionAsync Source #
Memory-managed wrapper type.
Instances
GObject SessionAsync Source # | |
Defined in GI.Soup.Objects.SessionAsync gobjectType :: IO GType # | |
HasParentTypes SessionAsync Source # | |
Defined in GI.Soup.Objects.SessionAsync | |
type ParentTypes SessionAsync Source # | |
Defined in GI.Soup.Objects.SessionAsync |
class (GObject o, IsDescendantOf SessionAsync o) => IsSessionAsync o Source #
Type class for types which can be safely cast to SessionAsync
, for instance with toSessionAsync
.
Instances
(GObject o, IsDescendantOf SessionAsync o) => IsSessionAsync o Source # | |
Defined in GI.Soup.Objects.SessionAsync |
toSessionAsync :: (MonadIO m, IsSessionAsync o) => o -> m SessionAsync Source #
Cast to SessionAsync
, for types for which this is known to be safe. For general casts, use castTo
.
noSessionAsync :: Maybe SessionAsync Source #
A convenience alias for Nothing
:: Maybe
SessionAsync
.
Methods
new
:: (HasCallStack, MonadIO m) | |
=> m SessionAsync | Returns: the new session. |
Deprecated: SessionAsync
is deprecated; use a plainSession
, created with sessionNew
. See the <linklinkend="libsoup-session-porting">porting guide</link>.
Creates an asynchronous Session
with the default options.