[Erlangweb-users] streaming data
Brought to you by:
etcerlangweb,
paulgray
|
From: Jeffm <je...@gh...> - 2010-04-19 03:16:48
|
Is it possible to stream data from, or to trigger streaming from a controller model in erlang-web? The motivation behind this is that in a test project I'm playing around with I have large (static) files which should only be accessible once you authenticate as a user which is allowed access to these files. Standard stuff really. Copying these large files into memory in one block to send to the browser is wasteful of memory. A quick inspection of the doco for both inets and yaws says that they support this feature, but I can't find the doco on the allowed return values for the controller modules. If I've missed it please point me to it. Jeff. |