|  |  |  | libsoup Reference Manual |  | 
|---|---|---|---|---|
struct SoupSessionSync; SoupSession* soup_session_sync_new (void); SoupSession* soup_session_sync_new_with_options (const char *optname1, ...);
SoupSessionSync is an implementation of SoupSession that uses synchronous I/O, intended for use in multi-threaded programs.
Note that you cannot use soup_session_queue_message() with a
synchronous session. You can only use soup_session_send_message().
SoupSession* soup_session_sync_new (void);
Creates an synchronous SoupSession with the default options.
| Returns : | the new session. | 
SoupSession* soup_session_sync_new_with_options (const char *optname1, ...);
Creates an synchronous 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. |