refactored Engine.pm, added $c->(get|set)_action;
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine / FCGI.pm
CommitLineData
ffb41d94 1package Catalyst::Engine::FCGI;
2
3use strict;
4use base 'Catalyst::Engine::CGI';
5use FCGI;
ffb41d94 6
7=head1 NAME
8
9Catalyst::Engine::FCGI - Catalyst FCGI Engine
10
11=head1 SYNOPSIS
12
13See L<Catalyst>.
14
15=head1 DESCRIPTION
16
17This is the Catalyst engine for FastCGI.
18
19=head1 OVERLOADED METHODS
20
21This class overloads some methods from C<Catalyst::Engine::CGI>.
22
23=over 4
24
25=item $c->run
26
27=cut
28
29sub run {
30 my $class = shift;
31 my $request = FCGI::Request();
32 while ( $request->Accept() >= 0 ) {
e646f111 33 $class->handler;
ffb41d94 34 }
35}
36
37=back
38
39=head1 SEE ALSO
40
41L<Catalyst>.
42
43=head1 AUTHOR
44
45Sebastian Riedel, C<sri@cpan.org>
46
47=head1 COPYRIGHT
48
49This program is free software, you can redistribute it and/or modify it under
50the same terms as Perl itself.
51
52=cut
53
541;