NAME

Mojo::Server::FCGI::Prefork - Prefork FastCGI Server

SYNOPSIS

use Mojo::Server::FCGI::Prefork;
my $prefork = Mojo::Server::FCGI::Prefork->new;
$prefork->run;

DESCRIPTION

Mojo::Server::FCGI::Prefork is a preforking FastCGI implementation using FCGI.

ATTRIBUTES

Mojo::Server::FCGI::Prefork inherits all attributes from Mojo::Server and implements the following new ones.

fcgi

my $fcgi = $prefork->fcgi;
$prefork = $prefork->fcgi(Mojo::Server::FCGI->new);

$prefork->fcgi->app_class('Mojo::HelloWorld');

path

my $path = $prefork->path
$prefork = $prefork->path(':3000');
$prefork = $prefork->path('/some/unix.socket');

METHODS

Mojo::Server::FCGI inherits all methods from Mojo::Server and implements the following new ones.

child

$prefork->child;

parent

$prefork->parent;