HTTP::S...e::PSGI(3)

🫢 HTTP::Server::Simple::PSGI β€” the NAME bit 🫢

okay so bestie, you're looking at HTTP::S...e::PSGI(3) from the User Contributed Perl Documentation, and the whole personality of this page is literally: PSGI handler for HTTP::Server::Simple. That's it. That's the vibe. ✨


πŸ’– SYNOPSIS πŸ’–

like, here's the whole thing, copy it exactly, no cap:

use HTTP::Server::Simple::PSGI;

my $server = HTTP::Server::Simple::PSGI->new($port);
$server->host($host);
$server->app($app);
$server->run;

make a server with your $port, tell it your $host, hand it your $app, then run it. four lines. iconic. πŸŽ€


🌸 DESCRIPTION 🌸

HTTP::Server::Simple::PSGI is a HTTP::Server::Simple based HTTP server that can run PSGI applications. πŸ¦‹

and here's the part that's lowkey the best: this module only depends on HTTP::Server::Simple, which itself doesn't depend on any non-core modules β€” so it's best to be used as an embedded web server. no dependency drama, no random CPAN haul, just vibes and core modules. πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

three whole legends, give them their flowers:

  • Tokuhiro Matsuno
  • Kazuhiro Osawa
  • Tatsuhiko Miyagawa

⭐ LICENSE ⭐

This module is licensed under the same terms as Perl itself. periodt. πŸͺ


🌈 SEE ALSO 🌈

  • HTTP::Server::Simple
  • Plack
  • HTTP::Server::PSGI

iykyk, go read those next. πŸ”₯


and that's the page, bestie β€” sourced from perl v5.42.0, dated 2021-01-28, straight out of the User Contributed Perl Documentation. mwah, go build something cute πŸ’œπŸ§š

πŸ“¦ where this page comes from