Catalyst::Engine::HTTP - Catalyst HTTP Engine


Catalyst-Runtime documentation  | view source Contained in the Catalyst-Runtime distribution.

Index


NAME

Top

Catalyst::Engine::HTTP - Catalyst HTTP Engine

SYNOPSIS

Top

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

Top

This is the Catalyst engine specialized for development and testing.

METHODS

Top

$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

Top

Catalyst, Catalyst::Engine

AUTHORS

Top

Catalyst Contributors, see Catalyst.pm

THANKS

Top

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

COPYRIGHT

Top


Catalyst-Runtime documentation  | view source Contained in the Catalyst-Runtime distribution.