Re: Progress while waiting for Web Service response

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Progress while waiting for Web Service response
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7730@lists.php.net to get a copy of this message
FGM napisał(a):
It depends on how you build your web service client: if it stays waiting on a socket, it never goes back to the event loop, and no events are being delivered until your data exchange is over. Generally it is Zend_Http_Client used by Zend_XmlRpc_Client.
My problem refers to a situation when I was fetching large piece of data. One soultion about I didnt thinked before is calling: while (Gtk::events_pending()) {
      Gtk::main_iteration();
} in main loop fetching data from socket - it work and it is enough for me. -- pozdrawiam Łukasz Wojciechowski

« previous php.gtk.general (#7730) next »