NAME
HTTP::Engine::Interface::FCGI - FastCGI interface for HTTP::Engine
SYNOPSIS
#!/usr/bin/perl
use
HTTP::Engine;
HTTP::Engine->new(
interface
=> {
module
=>
'FCGI'
,
args
=> {
},
request_handler
=>
'main::handle_request'
,
# or CODE ref
},
)->run();
sub
handle_request {
HTTP::Engine::Response->new(
body
=>
'hello, world!'
);
}
ATTRIBUTES
- leave_umask
- keep_stderr
-
send STDERR to stdout (a logfile)
- nointr
- detach
- manager
- nproc
- pidfile
- listen
-
Pathname of socket or colon followed by local tcp port.
AUTHORS
Tokuhiro Matsuno
THANKS TO
many codes copied from Catalyst::Engine::FastCGI. thanks authors of C::E::FastCGI!