Apocalypse > POE-Component-Server-SimpleHTTP-1.13 > POE::Component::Server::SimpleHTTP::Response

Download:
POE-Component-Server-SimpleHTTP-1.13.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  13
Open  2
View/Report Bugs
Module Version: 1.03   Source   Latest Release: POE-Component-Server-SimpleHTTP-2.18

NAME ^

POE::Component::Server::SimpleHTTP::Response - Emulates a HTTP::Response object, used for SimpleHTTP

SYNOPSIS ^

        use POE::Component::Server::SimpleHTTP::Response;
        my $response = POE::Component::Server::SimpleHTTP::Response->new( $wheel_id, $connection );

        print $response->connection->remote_ip;

DESCRIPTION ^

        This module is used as a drop-in replacement, because we need to store the wheel ID + connection object for the response.

        Use $response->connection to get the SimpleHTTP::Connection object

EXPORT

Nothing.

SEE ALSO ^

        L<POE::Component::Server::SimpleHTTP>

        L<POE::Component::Server::SimpleHTTP::Connection>

AUTHOR ^

Apocalypse <apocal@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2006 by Apocalypse

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: