The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test2::Tools::HTTP::UA::LWPClass - Global LWP user agent wrapper for Test2::Tools::HTTP

VERSION

version 0.07

SYNOPSIS

 use Test2::Tools::HTTP;
 use LWP::UserAgent;
 
 psgi_app_add 'http://example.test' => sub { ... };
 
 http_ua 'LWP::UserAgent';
 
 my $ua = LWP::UserAgent->new;
 my $res = $ua->get('http://example.test');

DESCRIPTION

This class is not intended to be used directly.

This module provides the machinery for instrumenting LWP::UserAgent for use with Test2::Tools::HTTP. Since LWP::UserAgent. It is different from Test2::Tools::HTTP::UA::LWP in that it instruments the LWP::UserAgent class itself, so ALL instances will be able to use any apps registered.

SEE ALSO

Test2::Tools::HTTP
Test2::Tools::HTTP::UA::LWP

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.