POE::Component::Server::HTTP 0.09
Sponsored Links
POE::Component::Server::HTTP 0.09 Ranking & Summary
File size:
0.016 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
920
Date added:
2007-04-18
Publisher:
Arthur Bergman
POE::Component::Server::HTTP 0.09 description
POE::Component::Server::HTTP is a foundation of a POE HTTP Daemon.
SYNOPSIS
use POE::Component::Server::HTTP;
use HTTP::Status;
my $aliases = POE::Component::Server::HTTP->new(
Port => 8000,
ContentHandler => {
/ => &handler1,
/dir/ => sub { ... },
/file => sub { ... }
},
Headers => { Server => My Server },
);
sub handler {
my ($request, $response) = @_;
$response->code(RC_OK);
$response->content("Hi, you fetched ". $request->uri);
return RC_OK;
}
POE::Kernel->call($aliases->{httpd}, "shutdown");
# next line isnt really needed
POE::Kernel->call($aliases->{tcp}, "shutdown");
POE::Component::Server::HTTP (PoCo::HTTPD) is a framework for building custom HTTP servers based on POE. It is loosely modeled on the ideas of apache and the mod_perl/Apache module.
It is built alot on work done by Gisle Aas on HTTP::* modules and the URI module which are subclassed.
PoCo::HTTPD lets you register different handler, stacked by directory that will be run during the cause of the request.
SYNOPSIS
use POE::Component::Server::HTTP;
use HTTP::Status;
my $aliases = POE::Component::Server::HTTP->new(
Port => 8000,
ContentHandler => {
/ => &handler1,
/dir/ => sub { ... },
/file => sub { ... }
},
Headers => { Server => My Server },
);
sub handler {
my ($request, $response) = @_;
$response->code(RC_OK);
$response->content("Hi, you fetched ". $request->uri);
return RC_OK;
}
POE::Kernel->call($aliases->{httpd}, "shutdown");
# next line isnt really needed
POE::Kernel->call($aliases->{tcp}, "shutdown");
POE::Component::Server::HTTP (PoCo::HTTPD) is a framework for building custom HTTP servers based on POE. It is loosely modeled on the ideas of apache and the mod_perl/Apache module.
It is built alot on work done by Gisle Aas on HTTP::* modules and the URI module which are subclassed.
PoCo::HTTPD lets you register different handler, stacked by directory that will be run during the cause of the request.
POE::Component::Server::HTTP 0.09 Screenshot
Advertisements
POE::Component::Server::HTTP 0.09 Keywords
POE
HTTP
POE HTTP Daemon
HTTP 0.09
Daemon
HTTP Daemon
foundation
0.09
POE::Component::Server::HTTP
POEComponentServerHTTP
POE::Component::Server::HTTP 0.09
Libraries
Programming
Bookmark POE::Component::Server::HTTP 0.09
POE::Component::Server::HTTP 0.09 Copyright
WareSeeker periodically updates pricing and software information of POE::Component::Server::HTTP 0.09 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of POE::Component::Server::HTTP 0.09 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
POE::Component::Server::IRC is a fully event-driven networkable IRC server daemon module. Free Download
POE::Component::Basement provides Class::Std and base POE component functionality. Free Download
POE::Component::Client::HTTP is a HTTP user-agent component. Free Download
POE::Component::Server::Syslog is a Perl module with syslog services for POE. Free Download
POE::Component::OSCAR is a POE component for the Net::OSCAR module. Free Download
POE::Component::Client::FTP is a Perl module that implements an FTP client POE Component. Free Download
POE::Component::SubWrapper is an event based wrapper for subs. Free Download
POE::Component::YahooMessenger is a POE component for Yahoo! Messenger. Free Download
Latest Software
Popular Software
Favourite Software