1Plack::LWPish(3)      User Contributed Perl Documentation     Plack::LWPish(3)
2
3
4

NAME

6       Plack::LWPish - HTTP::Request/Response compatible interface with
7       HTTP::Tiny backend
8

SYNOPSIS

10         use Plack::LWPish;
11
12         my $request = HTTP::Request->new(GET => 'http://perl.com/');
13
14         my $ua = Plack::LWPish->new;
15         my $res = $ua->request($request); # returns HTTP::Response
16

DESCRIPTION

18       This module is an adapter object that implements one method, "request"
19       that acts like LWP::UserAgent's request method i.e. takes HTTP::Request
20       object and returns HTTP::Response object.
21
22       This module is used solely inside Plack::Test::Suite and
23       Plack::Test::Server, and you are recommended to take a look at
24       HTTP::Thin if you would like to use this outside Plack.
25

AUTHOR

27       Tatsuhiko Miyagawa
28

SEE ALSO

30       HTTP::Thin HTTP::Tiny LWP::UserAgent
31
32
33
34perl v5.34.0                      2021-07-22                  Plack::LWPish(3)
Impressum