We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From my testing it appears to be:
request_preprepare request_prepare request_send response_header response_data response_done response_redirect
See:
use strict; use warnings; use feature qw( say ); use LWP::UserAgent; my $ua = LWP::UserAgent->new; my @phases = ( 'request_preprepare', 'request_prepare', 'request_send', 'response_header', 'response_data', 'response_done', 'response_redirect', ); for my $phase (@phases) { $ua->add_handler( $phase => sub { say "$phase"; return undef; } ); } $ua->get('https://metacpan.org');
The text was updated successfully, but these errors were encountered:
Document the order in which handlers are fired. Fixes #273
d145112
fa388bc
aded266
No branches or pull requests
From my testing it appears to be:
See:
The text was updated successfully, but these errors were encountered: