HTTP::Engine::Interface::POE - POE interface for HTTP::Engine.
use POE; HTTP::Engine->new( interface => { module => 'POE', args => { host => '127.0.0.1', port => 1984, }, request_handler => sub { HTTP::Engine::Response->new( status => 200, body => 'foo' ) } }, )->run; POE::Kernel->run();
This is POE interface for HTTP::Engine.
The bind address of TCP server.
The port number of TCP server.
HTTP::Engine
To install HTTP::Engine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Engine
CPAN shell
perl -MCPAN -e shell install HTTP::Engine
For more information on module installation, please visit the detailed CPAN module installation guide.