| OpenFrame documentation | view source | Contained in the OpenFrame distribution. |
OpenFrame::Segment::ContentLoader - simple file based loader for web content under OpenFrame
use OpenFrame::Segment::ContentLoader;
my $cl = OpenFrame::Segment::ContentLoader->new();
$cl->directory("/path/to/pages");
$pipeline->add_segment($cl);
OpenFrame::Segment::ContentLoader is a pipeline segment used by
OpenFrame's example webserver. It creates OpenFrame::Response
objects. The objects it creates will either contain the contents of
the file requested, an error displaying a file not found message, or
an error message displaying an access forbidden message.
OpenFrame(3), Pipeline(3)
James A. Duncan <jduncan@fotango.com>
| OpenFrame documentation | view source | Contained in the OpenFrame distribution. |