Skip to content

Commit

Permalink
oops. added synopsis
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed Jun 18, 2009
1 parent 4a690c1 commit fff92ec
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions lib/HTTP/Engine/Interface/FCGI.pm
Expand Up @@ -165,6 +165,24 @@ __END__
HTTP::Engine::Interface::FCGI - FastCGI interface for HTTP::Engine
=head1 SYSNOPSIS
#!/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!' );
}
=head1 ATTRIBUTES
=over 4
Expand Down

0 comments on commit fff92ec

Please sign in to comment.