Re: syncronous requests

Rodrigo Moya <[email protected]> 22 May 2002 16:41:29 +0200
Newsgroups gmane.comp.gnome.ximian.soup
Message-ID <1022078490.1049.29.camel@azkoyen>
On Wed, 2002-05-22 at 16:20, Marco Milanesi wrote:
> hi,
> 
> 	how can I send synchronous requests?
> 
> I've seen a soup_message_send function, but I'm wondering how can I read 
> a SOAP response after sending a SOAP message.
> 
soup_message_send is what you want. After calling it, all you need is in
the SoupMessage structure.


> PS: I need to avoid the g_main_run() main loop mechanism because 
> I'm having strange behaviours. (i.e. an endless main loop that sucks all CPU
> resources)
> 
well, soup_message_send just runs the main loop and waits for it to
finish, so you may still have the same problems (that is, callback
functions, idle/timeout handlers being called in the middle of the
soup_message_send call).

cheers


_______________________________________________
Soup-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/soup-list