Plack::LWPish(3)
π NAME π
Plack::LWPish β bestie, it's an HTTP::Request/Response compatible interface with an HTTP::Tiny backend. That's the whole vibe. π¦
β¨ SYNOPSIS β¨
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
okay so you literally just make an HTTP::Request, hand it to a Plack::LWPish object, and it hands you back an HTTP::Response. it's giving effortless. π
πΈ DESCRIPTION πΈ
So here's the tea. This module is an adapter object that implements exactly one method: request. And that method acts like LWP::UserAgent's request method, iykyk β meaning it takes an HTTP::Request object and returns an HTTP::Response object. No cap. π₯
Now, important part, don't skip: this module is used solely inside Plack::Test::Suite and Plack::Test::Server. That's its whole little life, its main character arc, periodt. π
If you'd like to use this outside of Plack, the docs literally recommend you go take a look at HTTP::Thin instead. So like... do that, bestie. π«Ά
π AUTHOR π
Tatsuhiko Miyagawa β iconic, honestly. π
π SEE ALSO π
HTTP::ThinHTTP::TinyLWP::UserAgent
and that's the page, bestie, we're done here π this lil cutie shipped as part of User Contributed Perl Documentation, perl v5.42.3, dated 2026-10-18. slay, go write some tests. β¨ππ¦
π¦ where this page comes from
- fedora 43: perl-Plack 1.0055-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-Plack 1.0055-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms