Igor Zinovyev > Eve > Eve::HttpOutput

Download:
Eve-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Eve::HttpOutput - an event handler for HTTP response events.

SYNOPSIS ^

    use Eve::HttpOuput;

    my $output = Eve::HttpOutput->new(filehandle => STDOUT);
    $dispatcher->handle(event => $event);

DESCRIPTION ^

Eve::HttpOutput class is an output controller for HTTP applications.

Constructor arguments

filehandle

a filehandle to write the output data to. Usualy it is STDOUT,

METHODS ^

init()

handle()

Handles an event containing an HTTP response instance performing the output.

Arguments

event

an event containing the HTTP response object.

SEE ALSO ^

Eve::Class
Eve::HttpResponse

LICENSE AND COPYRIGHT ^

Copyright 2012 Igor Zinovyev.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

AUTHOR ^

Igor Zinovyev
syntax highlighting: