| libsoup Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#include <libsoup/soup.h>
SoupSessionAsync;
SoupSession * soup_session_async_new (void);
SoupSession * soup_session_async_new_with_options (const char *optname1,
...);
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.
SoupSession * soup_session_async_new (void);
soup_session_async_new is deprecated and should not be used in newly-written code.
Creates an asynchronous SoupSession with the default options.
Returns : |
the new session. |
SoupSession * soup_session_async_new_with_options (const char *optname1,...);
soup_session_async_new_with_options is deprecated and should not be used in newly-written code.
Creates an asynchronous SoupSession with the specified options.
|
name of first property to set |
|
value of optname1, followed by additional property/value pairs |
Returns : |
the new session. |