POE::F...TTPHead(3pm)
β¨ NAME β¨
ok so bestie, this is POE::Filter::HTTPHead β it's a Perl filter (a POE::Filter-family one, hence the <pink>...Head(3pm)</pink> situation) whose whole personality is filtering data as HTTP::Response objects. π
πΈ VERSION πΈ
This is version 0.949, bestie. Write it down. π
π¦ SYNOPSYS π¦
ok so here's the vibe, code and all, no edits:
$filter = POE::Filter::HTTPHead->new();
$arrayref_of_response_objects =
$filter->get($arrayref_of_raw_chunks_from_driver);
$arrayref_of_leftovers = $filter->get_pending();
look at her. main character energy fr fr. β¨
π DESCRIPTION π
so like, the HTTPHead filter takes stream data that's got the right format and turns it into an HTTP::Response object. that's literally its job. π«Ά
and listen β in an all-POE world, this thing would sit on the other end of a connection as POE::Filter::HTTPD. like, they're the two ends of the same yapping session, iykyk. π
π new
creates a new filter to parse HTTP headers. takes no parameters (she needs nothing from you, she's self-sufficient π
) and returns a shiny new POE::Filter::HTTPHead object. slay.
β METHODS β
for the documentation of the public API, go check POE::Filter. that's where the tea is. π΅
π§ get_pending
returns unparsed data that's still pending in this filter's input buffer. like, the leftovers she hasn't gotten to yet. π
it's used by POE::Wheel objects so they can seamlessly switch between filters. seamless. iconic. no drama. β¨
the details live in the POE::Filter documentation β go read it, bestie, I'm not making stuff up.
π SEE ALSO
POE::Filterβ the public API docs live here, frPOE::Filter::HTTPDβ the other end of the connection in an all-POE world π«ΆHTTP::Responseβ the object this filter produces
ok that's the whole page, no notes. π
this gorgeous little doc ships with version 0.949, and the page itself was generated by perl v5.36.0 on 2022-11-19. she's got history, she's got lore, she's that girl. love her, use her, hydrate, and always read your POE::Filter docs. mwah. ππΈβ¨
π¦ where this page comes from
- debian bookworm: libpoe-component-client-http-perl 0.949-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libpoe-component-client-http-perl 0.949-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libpoe-component-client-http-perl 0.949-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpoe-component-client-http-perl 0.949-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpoe-component-client-http-perl 0.949-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms