POE::Filter::HTTPD - POE HTTP 1.0 (Server Side) Protocol Abstraction
$httpd = new POE::Filter::HTTPD(); $arrayref_with_http_response_as_string = $httpd->put($full_http_response_object); $arrayref_with_http_request_object = $line->get($arrayref_of_raw_data_chunks_from_driver);
The HTTPD filter parses the first HTTP 1.0 request from an incoming stream into an HTTP::Request object. It accepts a single HTTP::Response object, and returns a HTTP 1.0 stream for sending.
Please see the documentation for HTTP::Request and HTTP::Response.
Please see POE::Filter.
POE::Filter; POE::Filter::Line; POE::Filter::Reference; POE::Filter::Stream; HTTP::Request; HTTP::Response
Keep-alive is not supported.
The HTTPD filter was contributed by Artur Bergman.
Please see the POE manpage for more information about authors and contributors.
To install POE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE
CPAN shell
perl -MCPAN -e shell install POE
For more information on module installation, please visit the detailed CPAN module installation guide.