Plack::LWPish(3pm)

Plack::LWPish3pm

Http::request/response compatible interface with http::tiny backend

Usage

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

Overview

This module is an adapter object that implements one method, "request" that acts like LWP::UserAgent's request method i.e. takes HTTP::Request object and returns HTTP::Response object.

This module is used solely inside Plack::Test::Suite and Plack::Test::Server, and you are recommended to take a look at HTTP::Thin if you would like to use this outside Plack.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Tatsuhiko Miyagawa

From libplack-perl 1.0051-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.