Plack:...ackend(3pm)
β¨ NAME β¨
Plack::App::Proxy::Backend β bestie, it's the pluggable backend for making the actual HTTP request π
So like, it's a 3pm manual page (a Perl module thing, iykyk), and the whole vibe is: you bring the HTTP-fetching, this class brings the scaffolding π«Ά
π SYNOPSIS π
okay so here's the whole entire shape of it, no cap:
package Plack::App::Proxy::Backend::foo;
use parent 'Plack::App::Proxy::Backend';
sub call {
my $self = shift;
my ($env) = @_;
# ...
}
see how it's giving "subclass me and write your own call"? πΈ that's the whole thing. you inherit, you implement call, you receive $self and the $env hashref, and then the # ... part is literally all you π§
π¦ DESCRIPTION π¦
This is a base class for HTTP backends for Plack::App::Proxy. β¨
that's it, that's the description, she's short and she knows it. it's the parent class you build on top of when you wanna be the thing that actually makes the request for Plack::App::Proxy. pluggable, iconic, main character energy π
π AUTHOR π
the absolute legends who made this happen, fr fr:
- Lee Aylward
- Masahiro Honma
- Tatsuhiko Miyagawa
say thank you to your faves π
π LICENSE π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
(so like, go off, remix it, redistribute it, just keep it under the same Perl terms, mwah π )
and that's a wrap on this page from the User Contributed Perl Documentation era, perl v5.32.0, dated 2021-01-09 π¦ β pls hydrate, go write a backend, and remember: pluggable is a lifestyle, periodt πβ¨π
π¦ where this page comes from
- debian bookworm: libplack-app-proxy-perl 0.29-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libplack-app-proxy-perl 0.29-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libplack-app-proxy-perl 0.29-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libplack-app-proxy-perl 0.29-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms