[Cppcms-users] Creating and downloading reports at run-time
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-06-02 06:19:08
|
Hi, This may have an obvious answer but, basically Ive got a PDF report to generate at runtime when /report function gets dispatched. Theoretically speaking, the PDF gets created and saved as myreport.pdf, how do you then send it to the browser? What if I want to skip the PDF saving to disk, and send it directly out of a buffer Do you you just do response().out() << buffer and set the content type appropriately? Thanks, Petr |