| HTTP-Engine documentation | view source | Contained in the HTTP-Engine distribution. |
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 documentation | view source | Contained in the HTTP-Engine distribution. |