NAME
HTTP::Engine::Interface::POE - POE interface for HTTP::Engine.
SYNOPSIS
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();
DESCRIPTION
This is POE interface for HTTP::Engine.
ATTRIBUTES
- host
-
The bind address of TCP server.
- port
-
The port number of TCP server.