Quote: http://framework.zend.com/manual/en/zend.http.client.html

$client = new Zend_Http_Client();
$client->setUri('http://example.org');
$client->setConfig(array(
    'maxredirects' => 0,
    'timeout'      => 30));


And most services you have a method to set the client. If it's a
Zend_Service derived class, it has setHttpClient as a method which
will take the object ($client in this sample) as value.

On Mon, Oct 25, 2010 at 11:33 AM, Daniel Latter <[email protected]> wrote:
> Hi All,
>
> I have to modify the timeout value in Zend/Http/Client.php for a web service
> i am building.
>
> Is there any way I can avoid editing Zend/Http/Client.php (config array) and
> instead pass the object
> to webservice server/client, say in a config array with the changed timeout
> value?
>
>
> Thanks
> Daniel
>



-- 
Greetings,
Christian Riesen
http://christianriesen.com/ - My personal page
http://toreas.com/ - Toreas a free fantasy novel
http://gamewiki.net/ - Open Videogames Wiki

Reply via email to