SoupSessionAsync

SoupSessionAsync — Soup session for asynchronous (main-loop-based) I/O.

Synopsis




struct      SoupSessionAsync;
SoupSession* soup_session_async_new         (void);
SoupSession* soup_session_async_new_with_options
                                            (const char *optname1,
                                             ...);

Object Hierarchy


  GObject
   +----SoupSession
         +----SoupSessionAsync

Implemented Interfaces

SoupSessionAsync implements SoupMessageFilter.

Description

SoupSessionASync is an implementation of SoupSession that uses non-blocking I/O via the glib main loop. It is intended for use in single-threaded programs.

Details

struct SoupSessionAsync

struct SoupSessionAsync;


soup_session_async_new ()

SoupSession* soup_session_async_new         (void);

Creates an asynchronous SoupSession with the default options.

Returns : the new session.

soup_session_async_new_with_options ()

SoupSession* soup_session_async_new_with_options
                                            (const char *optname1,
                                             ...);

Creates an asynchronous SoupSession with the specified options.

optname1 : name of first property to set
... : value of optname1, followed by additional property/value pairs
Returns : the new session.