aboutsummaryrefslogtreecommitdiffstats
path: root/examples/websocket/src/ws_handler.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-04-02 18:43:37 +0200
committerLoïc Hoguin <[email protected]>2013-04-02 19:40:38 +0200
commitce1d8862c093b31a2e3ba0a072b58b697a6b55de (patch)
tree222bf4661a705d803d524d870e945aaa6f712b34 /examples/websocket/src/ws_handler.erl
parent66f7c15c4d42c655f63a94bb972e66a8e9dbc334 (diff)
downloadcowboy-ce1d8862c093b31a2e3ba0a072b58b697a6b55de.tar.gz
cowboy-ce1d8862c093b31a2e3ba0a072b58b697a6b55de.tar.bz2
cowboy-ce1d8862c093b31a2e3ba0a072b58b697a6b55de.zip
Replace init_stream/5 with stream_body/2
This allows us to change the max chunk length on a per chunk basis instead of for the whole stream. It's also much easier to use this way even if we don't want to change the chunk size.
Diffstat (limited to 'examples/websocket/src/ws_handler.erl')
0 files changed, 0 insertions, 0 deletions