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');

listen

    my $listen = $prefork->listen
    $prefork   = $prefork->listen(':3000');
    $prefork   = $prefork->listen('/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;