1Catalyst::Engine::HTTP(U3s)er Contributed Perl DocumentatCiaotnalyst::Engine::HTTP(3)
2
3
4
6 Catalyst::Engine::HTTP - Catalyst HTTP Engine
7
9 A script using the Catalyst::Engine::HTTP module might look like:
10
11 #!/usr/bin/perl -w
12
13 BEGIN { $ENV{CATALYST_ENGINE} = 'HTTP' }
14
15 use strict;
16 use lib '/path/to/MyApp/lib';
17 use MyApp;
18
19 MyApp->run;
20
22 This is the Catalyst engine specialized for development and testing.
23
25 $self->finalize_headers($c)
26 $self->finalize_read($c)
27 $self->prepare_read($c)
28 $self->read_chunk($c, $buffer, $length)
29 $self->write($c, $buffer)
30 Writes the buffer to the client.
31
32 run
33 options
34 Options hash passed to the http engine to control things like if
35 keepalive is supported.
36
38 Catalyst, Catalyst::Engine
39
41 Catalyst Contributors, see Catalyst.pm
42
44 Many parts are ripped out of "HTTP::Server::Simple" by Jesse Vincent.
45
47 This library is free software. You can redistribute it and/or modify it
48 under the same terms as Perl itself.
49
50
51
52perl v5.12.1 2010-04-13 Catalyst::Engine::HTTP(3)