|
From: | Eddie Carle |
Subject: | Re: [Fastcgipp-users] How to stream outside response()? |
Date: | Mon, 11 May 2009 09:32:46 -0600 |
User-agent: | KMail/1.11.2 (Linux/2.6.28-gentoo-r5; KDE/4.2.2; x86_64; ; ) |
On Monday 11 May 2009 9:26:39 am Goran wrote: > I've a problem in sending content to "out" via "<<". > > I wanna generate content outside "response()" in a separate object. > > E.g. > > // Page.hpp > class Page > { > public: > content() { out << "Content-Type: text/html; charset=utf-8\r\n\r\n"; } > }; > > // Example.hpp > class Example : public Fastcgipp::Request<char> > { > Page page; > bool response() { page.content(); } > }; > > What do I have to do that Page.hpp works? -- Eddie Carle guaranteed to have originated from Eddie Carle and its contents can be validated against its signature. |
signature.asc
Description: This is a digitally signed message part.
[Prev in Thread] | Current Thread | [Next in Thread] |