App-CPANIDX-HTTP-Server

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


METHODS
    "new"
        Start a new instance of App::CPANIDX::HTTP::Server. Takes one
        option, the port number to start listening on for requests. If it is
        not provided will default to 8080.

    "dsn"
        After running "new", but before calling "run", call this to assign
        the database details to the server. Takes three arguments: a DBI
        "DSN" string, a username (if applicable) and a password (if
        applicable).

    "run"
        Runs the server and starts handling requests.

    "handle_request"
        Deals with requests. No user serviceable parts.

SEE ALSO
    App::CPANIDX

bin/cpanidx_httpserver  view on Meta::CPAN

=item C<dsn>

Specify the L<DBI> C<DSN> string to use.

=item C<user>

Specify the username to use with the C<dsn> (if applicable).

=item C<pass>

Specify the password to use with the C<dsn> (if applicable).

=item C<port>

Specify the listening port to use. The default is C<8080>.

=back

=head1 COMMAND LINE OPTIONS

=over

lib/App/CPANIDX/HTTP/Server.pm  view on Meta::CPAN


=item C<new>

Start a new instance of App::CPANIDX::HTTP::Server. Takes one option, the port number to
start listening on for requests. If it is not provided will default to C<8080>.

=item C<dsn>

After running C<new>, but before calling C<run>, call this to assign the database details to 
the server. Takes three arguments: a L<DBI> C<DSN> string, a username (if applicable) and a 
password (if applicable).

=item C<run>

Runs the server and starts handling requests.

=item C<handle_request>

Deals with requests. No user serviceable parts.

=back



( run in 0.869 second using v1.01-cache-2.11-cpan-49f99fa48dc )