[Catalyst] Streaming?

Matt S Trout dbix-class at trout.me.uk
Tue Jun 20 23:38:18 CEST 2006


Michael Giambalvo wrote:
> Is streaming possible within catalyst?  I've run into a couple cases
> now where I need to stream data to the client.  Is there a way for me
> to write data to the pipe and then flush it, or is that not exposed in
> Catalyst?

$c->write($chunk)

or

$c->res->body($filehandle_object)


> I'm not even sure where this would be implemented, but I guess I'd
> have to make a custom view.  Any ideas or examples of this?
> 
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/


-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list