Catalyst::Engine::HTTP.3pm

Langue: en

Version: 2010-04-13 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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