$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.
Copyright © 2001 O'Reilly & Associates. All rights reserved.