Maypole::HTTPD(3)

πŸ“¦
version 2.13 Β· 2 versions
, in fedora 43

πŸ’– Maypole::HTTPD πŸ’–

okay bestie, so this is Maypole::HTTPD from the User Contributed Perl Documentation section β€” a stand-alone HTTPD for running your Maypole Applications. no Apache, no plack, no nonsense. just vibes and a server. πŸ¦‹


✨ SYNOPSIS ✨

use Maypole::HTTPD;
my $httpd=Maypole::HTTPD->new(module=>"BeerDB");
$httpd->run();

like… that's it. that's the whole thing. you make one, you run it. slay. πŸ’…


🌸 DESCRIPTION 🌸

This is a stand-alone HTTPD for running your Maypole Applications. it just… exists. on its own. serving your app. main character energy fr fr. πŸ‘‘

πŸŽ€ new

The constructor. bestie takes a hash of arguments. currently supported:

  • port β€” the TCP port to listen to πŸ‘‚
  • module β€” Maypole application Module name.

πŸ¦‹ module

Accessor for application module. that's the whole job. iconic. ✨

πŸ’œ handle_request

Handles the actual request processing. Should not be called directly.

🚨 ok so lowkey important: do NOT call this one directly. it's the behind-the-scenes girlie doing the actual work. let the server handle it, bestie, she doesn't need your help. πŸ™ˆ

⭐ SEE ALSO ⭐

  • Maypole

πŸ‘‘ AUTHOR πŸ‘‘

Marcus Ramberg, <marcus@thefeed.no<gt> Based on Simon Cozens' original implementation.

(shoutout Simon for the original blueprint, Marcus for making it a thing 🫢)


Copyright 2004 by Marcus Ramberg

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


and that's the whole page, no cap. πŸ’– this little cutie is from perl v5.42.0, dated 2025-07-25, and yes it's filed under Maypole::HTTPD(3) β€” go forth and run your Maypole app standalone, bestie, you got this πŸŽ€βœ¨

πŸ“¦ where this page comes from