Convert ngx_chain_t to buffer memory

Hi,
I am looking for a way to read ngx_chain_t buffer like what we do with
buffer memory (file-> buffer memory)
Is there any way we can do it with internal nginx api?

Thanks,

Posted at Nginx Forum: