The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

JSON::RPC::Server::FastCGI - A FastCGI version of JSON::RPC::Server

VERSION

Version 0.03

SYNOPSIS

        use JSON::RPC::Server::FastCGI;
    use lib 'libs/'; # you could put your handler modules here

    # If you want to use an 'External' FastCGI Server:
    # $ENV{FCGI_SOCKET_PATH} = "elsewhere:8888";

        my $server = JSON::RPC::Server::FastCGI->new;
    $server->dispatch_to('MyApp')->handle();

CONSTRUCTOR

new

Creates a server. All that needs to be done is call dispatch (or dispatch_to) followed by $server->handle().

OVERRIDDEN METHODS

handle

This is exactly the same as $server->handle, except that it uses an instance of CGI::Fast instead of CGI.

cgi

Returns the CGI::Fast object associated with this server.

METHODS

    Pretty much the same as JSON::RPC::Server;
    (See L<http://search.cpan.org/~makamaka/JSON-RPC/lib/JSON/RPC.pm>)

AUTHOR

Faiz Kazi, <faiz at cpan.org>

BUGS

Please report any bugs or feature requests to bug-json-rpc-server-fastcgi at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=JSON-RPC-Server-FastCGI. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc JSON::RPC::Server::FastCGI

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Faiz Kazi, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.