fastcgipp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fastcgipp-users] How to stream outside response()?


From: Goran
Subject: [Fastcgipp-users] How to stream outside response()?
Date: Mon, 11 May 2009 17:26:39 +0200

Hi all,

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?

Thanks in advance,
Goran
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]