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
|