Marcus Ramberg > Catalyst-Runtime-5.7007 > Catalyst::Engine::HTTP

Download:
Catalyst-Runtime-5.7007.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  7
Stalled  4
View Bugs
Report a bug
Source   Latest Release: Catalyst-Runtime-5.80014_01

NAME ^

Catalyst::Engine::HTTP - Catalyst HTTP Engine

SYNOPSIS ^

A script using the Catalyst::Engine::HTTP module might look like:

    #!/usr/bin/perl -w

    BEGIN {  $ENV{CATALYST_ENGINE} = 'HTTP' }

    use strict;
    use lib '/path/to/MyApp/lib';
    use MyApp;

    MyApp->run;

DESCRIPTION ^

This is the Catalyst engine specialized for development and testing.

METHODS ^

$self->finalize_headers($c)

$self->finalize_read($c)

$self->prepare_read($c)

$self->read_chunk($c, $buffer, $length)

$self->write($c, $buffer)

Writes the buffer to the client. Can only be called once for a request.

run

SEE ALSO ^

Catalyst, Catalyst::Engine.

AUTHORS ^

Sebastian Riedel, <sri@cpan.org>

Dan Kubb, <dan.kubb-cpan@onautopilot.com>

Sascha Kiefer, <esskar@cpan.org>

Andy Grundman, <andy@hybridized.org>

THANKS ^

Many parts are ripped out of HTTP::Server::Simple by Jesse Vincent.

COPYRIGHT ^

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