Loading ...
Sorry, an error occurred while loading the content.

Re: [soaplite] how to set http timeout?

Expand Messages
  • Randy J. Ray
    ... SOAP::Lite uses the LWP::UserAgent class for HTTP. Any options you would pass to LWP::UserAgent- new() you can pass in the proxy() method of SOAP::Lite: my
    Message 1 of 2 , Feb 10, 2003
    • 0 Attachment
      On 2003.02.10 14:57 msanesh <anesh@...> wrote:
      > Does anyone know how to set the http timeout in soaplite?

      SOAP::Lite uses the LWP::UserAgent class for HTTP. Any options you would pass
      to LWP::UserAgent->new() you can pass in the proxy() method of SOAP::Lite:

      my $soap = SOAP::Lite->new->proxy($url, timeout => 30, ...);

      sets a 30-second timeout.

      Randy
      --
      rjray@... http://www.rjray.org http://www.svsm.org

      Any spammers auto-extracting addresses from this message will definitely want
      to include uce@... and report@...
    Your message has been successfully submitted and would be delivered to recipients shortly.