mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
![]() This change allows application developers to refuse websocket upgrades by returning {shutdown, Req}. The application can also send a reply with a custom error before returning from websocket_init/3, otherwise an error 400 is sent. Note that right now Cowboy closes the connection immediately. Also note that neither terminate/3 nor websocket_terminate/3 will be called when the connection is shutdown by websocket_init/3. |
||
---|---|---|
.. | ||
http_SUITE_data | ||
chunked_handler.erl | ||
dispatcher_prop.erl | ||
http_handler.erl | ||
http_handler_init_shutdown.erl | ||
http_SUITE.erl | ||
proper_SUITE.erl | ||
websocket_handler.erl | ||
websocket_handler_init_shutdown.erl | ||
ws_timeout_hibernate_handler.erl |