Marcus Ramberg > Maypole-HTTPD-0.1 > Maypole::HTTPD

Download:
Maypole-HTTPD-0.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Stalled  1
View/Report Bugs
Module Version: 0.1   Source  

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.

steal

Adds Maypole::HTTPD::Frontend to @ISA of Maypole::Application, so it will be used for the maypole application. Is called from the constructor.

SEE ALSO ^

Maypole

AUTHOR ^

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

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: