Catalyst::Engine::HTTP(3p)

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 library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.