1POE::Filter::HTTPHead(3U)ser Contributed Perl DocumentatiPoOnE::Filter::HTTPHead(3)
2
3
4

NAME

6       POE::Filter::HTTPHead - filter data as HTTP::Response objects
7

VERSION

9       version 0.949
10

SYNOPSYS

12         $filter = POE::Filter::HTTPHead->new();
13         $arrayref_of_response_objects =
14           $filter->get($arrayref_of_raw_chunks_from_driver);
15
16         $arrayref_of_leftovers = $filter->get_pending();
17

DESCRIPTION

19       The HTTPHead filter turns stream data that has the appropriate format
20       into a HTTP::Response object. In an all-POE world, this would sit on
21       the other end of a connection as POE::Filter::HTTPD
22
23   new
24       Creates a new filter to parse HTTP headers.  Takes no parameters, and
25       returns a shiny new POE::Filter::HTTPHead object.
26

METHODS

28       See POE::Filter for documentation of the public API.
29
30   get_pending
31       Returns unparsed data pending in this filter's input buffer.  It's used
32       by POE::Wheel objects to seamlessly switch between filters.
33
34       Details may be found in the POE::Filter documentation.
35
36
37
38perl v5.28.1                      2014-07-08          POE::Filter::HTTPHead(3)
Impressum