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.SessionAsync
Contents
Description
No description available in the introspection data.
Synopsis
- newtype SessionAsync = SessionAsync (ManagedPtr SessionAsync)
- class GObject 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.
Constructors
SessionAsync (ManagedPtr SessionAsync) |
Instances
GObject SessionAsync Source # | |
Defined in GI.Soup.Objects.SessionAsync Methods gobjectType :: SessionAsync -> IO GType # | |
IsObject SessionAsync Source # | |
Defined in GI.Soup.Objects.SessionAsync | |
IsSession SessionAsync Source # | |
Defined in GI.Soup.Objects.SessionAsync | |
IsSessionAsync SessionAsync Source # | |
Defined in GI.Soup.Objects.SessionAsync |
class GObject o => IsSessionAsync o Source #
Type class for types which can be safely cast to SessionAsync
, for instance with toSessionAsync
.
Instances
(GObject a, (UnknownAncestorError SessionAsync a :: Constraint)) => IsSessionAsync a Source # | |
Defined in GI.Soup.Objects.SessionAsync | |
IsSessionAsync SessionAsync 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
Arguments
:: (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.