Name
use_sleep
Synopsis
$rob
->use_sleep ([boolean
])
Determines whether the user agent should sleep( )
if requests arrive too fast.
The default is true. If set to false, an internal
SERVICE_UNAVAILABLE response is generated, with a Retry-After
header indicating when it is permissable to send another request
to this server. With no arguments, returns the current value of
this flag.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.