08 Jul 2014 18:10:16 UTC
- Distribution: POE-Component-Client-HTTP
- Module version: 0.949
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Issues (7)
- Testers (4835 / 90 / 4)
- KwaliteeBus factor: 2
- 86.26% Coverage
- License: perl_5
- Activity24 month
- Download (74.24KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:1 non-PAUSE userRCAPUTO Rocco Caputo
POE::Filter::HTTPHead - filter data as HTTP::Response objects
$filter = POE::Filter::HTTPHead->new(); $arrayref_of_response_objects = $filter->get($arrayref_of_raw_chunks_from_driver); $arrayref_of_leftovers = $filter->get_pending();
The HTTPHead filter turns stream data that has the appropriate format into a HTTP::Response object. In an all-POE world, this would sit on the other end of a connection as POE::Filter::HTTPD
Creates a new filter to parse HTTP headers. Takes no parameters, and returns a shiny new POE::Filter::HTTPHead object.
See POE::Filter for documentation of the public API.
Returns unparsed data pending in this filter's input buffer. It's used by POE::Wheel objects to seamlessly switch between filters.
Details may be found in the POE::Filter documentation.
Module Install Instructions
To install POE::Component::Client::HTTP, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install POE::Component::Client::HTTP
For more information on module installation, please visit the detailed CPAN module installation guide.