Test2::Tools::HTTP::UA::LWP - LWP user agent wrapper for Test2::Tools::HTTP
version 0.12
use Test2::Tools::HTTP; use LWP::UserAgent; psgi_app_add 'http://example.test' => sub { ... }; my $ua = LWP::UserAgent->new; http_ua $ua; my $res = $ua->get('http://example.test');
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 is the default user agent for Test2::Tools::HTTP, this is the default user agent wrapper as well. It is a subclass of Test2::Tools::HTTP::UA.
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2018-2022 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.