Plack:...ackend(3pm)

πŸ“¦
version 0.29 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

✨ 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