1POE::Filter::HTTPHead(3U)ser Contributed Perl DocumentatiPoOnE::Filter::HTTPHead(3)
2
3
4
6 POE::Filter::HTTPHead - filter data as HTTP::Response objects
7
9 $filter = POE::Filter::HTTPHead->new();
10 $arrayref_of_response_objects =
11 $filter->get($arrayref_of_raw_chunks_from_driver);
12
13 $arrayref_of_leftovers = $filter->get_pending();
14
16 The HTTPHead filter turns stream data that has the appropriate format
17 into a HTTP::Response object. In an all-POE world, this would sit on
18 the other end of a connection as POE::Filter::HTTPD
19
20 new
21
22 Creates a new filter to parse HTTP headers. Takes no parameters, and
23 returns a shiny new POE::Filter::HTTPHead object.
24
26 See POE::Filter for documentation of the public API.
27
28 get_pending
29
30 Returns unparsed data pending in this filter's input buffer. It's used
31 by POE::Wheel objects to seamlessly switch between filters.
32
33 Details may be found in the POE::Filter documentation.
34
35
36
37perl v5.8.8 2006-10-14 POE::Filter::HTTPHead(3)