Hi,
 
I have this bit of code using the default timeout of 10 seconds
 
$oClient = new Zend_Http_Client($sURL); 

$oResponse = $oClient->request();

I want to know how to detect for a timeout, does it throw an exception
such that I need to wrap the request around a try catch block?

 

Thanks

Haddad 
 
--
  
Haddad Said
Developer
Eckoh UK Limited
Telford House, Corner Hall,
Hemel Hempstead, Hertfordshire HP3 9HN 
 
T 01442 458400
F 01442 458443
M n/a
W  www.eckoh.com
 
Winner, Best Use of Technology Partnership, CCA Excellence Awards 2007
 
Winner, Innovation of the Year Award, Transport Innovations 2007
   
This communication contains information, which is confidential and may also be 
privileged. It is for the exclusive use of the intended recipient(s) only. If 
you are not the intended recipient(s) please note that any form of 
distribution, copying or use of this communication or the information in it is 
strictly prohibited and may be unlawful. If you have received this 
communication in error please return it to the sender and then delete it. 
Opinions expressed in this message are those of the author, and are not binding 
on the company. 

 
Registered in England and Wales, No. 2796531
Registered office: Telford House, Corner Hall, Hemel Hempstead, Hertfordshire 
HP3 9HN 
 
A member of the Eckoh Plc group of companies.

Reply via email to