OpenFrame::Server::HTTP - Provide standalone HTTP access to OpenFrame
use OpenFrame::Server::HTTP; my $h = OpenFrame::Server::HTTP->new(port => 8000); $h->handle();
OpenFrame::Server::HTTP provides a standalone webserver which gives web access to an OpenFrame application (without having to set up Apache). The port that the webserver listens on is set by the value of the port key in the configuration, although it defaults to port 8000.
OpenFrame::Server::HTTP
This module requires HTTP::Daemon to be installed, and supports HTTP 1.1 (including keepalives) and does preforking to process multiple requests at the same time.
Note that any file upload objects are in the arguments of the AbstractRequest and their value is a filehandle pointing to the object.
Leon Brocard <leon@fotango.com>
To install OpenFrame, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenFrame
CPAN shell
perl -MCPAN -e shell install OpenFrame
For more information on module installation, please visit the detailed CPAN module installation guide.