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

SYNOPSYS

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

DESCRIPTION

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       Creates a new filter to parse HTTP headers.  Takes no parameters, and
22       returns a shiny new POE::Filter::HTTPHead object.
23

METHODS

25       See POE::Filter for documentation of the public API.
26
27   get_pending
28       Returns unparsed data pending in this filter's input buffer.  It's used
29       by POE::Wheel objects to seamlessly switch between filters.
30
31       Details may be found in the POE::Filter documentation.
32
33
34
35perl v5.12.0                      2010-02-15          POE::Filter::HTTPHead(3)
Impressum