aboutsummaryrefslogtreecommitdiffstats
path: root/examples/websocket/src/websocket_sup.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-06-03 18:31:05 +0200
committerLoïc Hoguin <[email protected]>2014-06-03 18:31:05 +0200
commit5d1d9af6cd2b91df567e482edfac2e1da104e267 (patch)
tree7caf428429849f637d4c14c0ea979937defe2f5d /examples/websocket/src/websocket_sup.erl
parent0c379256423f9db3b1a280b686baa0b965a4c739 (diff)
downloadcowboy-5d1d9af6cd2b91df567e482edfac2e1da104e267.tar.gz
cowboy-5d1d9af6cd2b91df567e482edfac2e1da104e267.tar.bz2
cowboy-5d1d9af6cd2b91df567e482edfac2e1da104e267.zip
Add a return value to onresponse hook to override status/headers
This would allow us to override them without messing up the body, and would make it usable with the static file handler for example. Experimental at this point.
Diffstat (limited to 'examples/websocket/src/websocket_sup.erl')
0 files changed, 0 insertions, 0 deletions