start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: proxy Chapter 17
The LWP Library
Next: Reference: use_alarm
 

timeout

 $

ua


->timeout
([

secs

])

When invoked with no arguments, timeout returns the timeout value of a request. By default, this value is three minutes. Therefore, if the client software doesn't hear back from the server within three minutes, it will stop the transaction and indicate that a timeout occurred in the HTTP response code. If invoked with an argument, the timeout value is redefined to be that value.


Previous: Reference: proxy Perl in a Nutshell Next: Reference: use_alarm
Reference: proxy Book Index Reference: use_alarm

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.