ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: RPC::XML set request timeout...
by Randy J. Ray other posts by this author
Dec 23 2005 1:41AM messages near this date
view in the new Beta List Site
RPC::XML set request timeout... | Re: RPC::XML set request timeout...
& XSLT > 
>  I would like to develop an application that makes use of the RPC::XML
>  module. Is there any way of setting a timeout parameter for the request I am
>  making to a server, in order to detect a situation where the server URL is
>  not correct or the server is down for example?
> 

The RPC::XML::Client object provides a method, "useragent", that gives you
access to the underlying LWP::UserAgent it uses for actual HTTP
communications. You can use this reference to set a timeout via the
"timeout" method (see the manpage for LWP::UserAgent).

Randy
--
Randy J. Ray / randy.j.ray@[...].com
Campbell, CA
Attachments:
unknown1
unknown2
unknown3
unknown4

Thread:
Aristotelis
Randy J. Ray
Dominic Mitchell
Ulisses Reina Montenegro

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved