I know how to handle timeout on HTTP::Request operations when LWP::UserAgent is used, but as I need to use HTTP::Async module instead of the Perl module LWP::UserAgent, I am looking for alternative solution(s) to set timeout for async http request(s).
I know how to handle timeout on HTTP::Request operations when LWP::UserAgent is used, but
Share
Have you read the documentation?
To set the default timeout for requests:
To change the timeout for a single request:
Update: It seems there’s a bug and the
timeoutattribute doesn’t actually work.