OpenFrame::Server::HTTPSingle - Provide standalone HTTP access to OpenFrame
use OpenFrame::Server::HTTPSingle; my $h = OpenFrame::Server::HTTPSingle->new(port => 8000); $h->handle();
OpenFrame::Server::HTTPSingle 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::HTTPSingle
This module requires HTTP::Daemon to be installed, and supports HTTP 1.1 (including keepalives) but only spawns one server - so can only be tested by one client at a time. This is less scalable than OpenFrame::Server::HTTP but can be used for benchmarking and testing due to the fact that it does not fork.
OpenFrame::Server::HTTP
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.