|
Hi,
I would like to use HTTP::Daemon in a streaming scenario where a client sends requests with "Transfer-Encoding: chunked". As far as I understand the Documentation and Code I could either let HTTP::Daemon::ClientConn read the whole request using $c->get_request(0) or use $c->get_request(1) and read the 'chunks' directly from the socket. Is this right?
I need a way to get my hands on the chunks as soon as they are received by the server (maybe by some sort of callback?). Any ideas how to achieve that without having to implement the socket-reading myself? |