Florian Ragwitz > Catalyst-Runtime-5.80001 > Catalyst::Engine::HTTP

Download:
Catalyst-Runtime-5.80001.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  18
Open  14
Stalled  1
View/Report Bugs
Source   Latest Release: Catalyst-Runtime-5.90069_002

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.

run

options

Options hash passed to the http engine to control things like if keepalive is supported.

SEE ALSO ^

Catalyst, Catalyst::Engine

AUTHORS ^

Catalyst Contributors, see Catalyst.pm

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.

syntax highlighting: