Maypole::HTTPD.3pm

Langue: en

Autres versions - même langue

Version: 2007-03-24 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Maypole::HTTPD - Stand alone HTTPD for running Maypole Applications

SYNOPSIS

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

DESCRIPTION

This is a stand-alone HTTPD for running your Maypole Applications.

new

The constructor. Takes a hash of arguments. Currently supported:
    port - TCP port to listen to
    module - Maypole application Module name.

module

Accessor for application module.

handle_request

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

SEE ALSO

Maypole

AUTHOR

Marcus Ramberg, <marcus@thefeed.no<gt> Based on Simon Cozens' original implementation. 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.