RDF::Server::Protocol::HTTP - POE-based standalone HTTP server
package My::Server; use RDF::Server; with 'MooseX::SimpleConfig'; with 'MooseX::Getopt'; protocol 'HTTP'; interface 'SomeInterface'; semantic 'SomeSemantic';
This protocol handler interfaces between the RDF::Server framework and a POE::Component::Server::HTTP server.
The MooseX::Daemonize role is included in this module. The start method is extended to start the POE::Kernal event loop in the daemonized process.
start
This is the IP address on which the server should listen.
Default: 127.0.0.1 (localhost)
This is the port on which the server should listen.
Default: 8080
This is the base URI at which the server should respond to requests. This is the location at which the content handler responds in the POE::Component::Server::HTTP object. See POE::Component::Server::HTTP for more information.
Passes the request and response objects to the appropriate interface handler. Returns the appropriate code to the POE::Component::Server::HTTP server.
MooseX::Daemonize, POE::Component::Server::HTTP.
James Smith, <jsmith@cpan.org>
<jsmith@cpan.org>
Copyright (c) 2008 Texas A&M University.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
To install RDF::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::Server
CPAN shell
perl -MCPAN -e shell install RDF::Server
For more information on module installation, please visit the detailed CPAN module installation guide.