Re: [Cppcms-users] How to set default response().out() stream precision?
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-06-21 10:54:13
|
> void on_before_stream_output(booster::function<(cppcms::http::context > &)> const &); > void on_after_stream_output(booster::function<(cppcms::http::context &)> > const &); > > Such a patch I can accept as it makes much more sense and may be actually > useful > for other things as well like altering a session or HTTP headers globally. I like this solution. I'll set the precision in the "master" view for now and then in the next few days when I(hopefully) get some spare time I'll look into it. One more thing... are you keen on using the same const order? I've always been doing "const cppcms::http::context&" instead of "cppcms::http::context const &" Petr |