aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_websocket_handler.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-01-22 02:33:06 +0100
committerLoïc Hoguin <[email protected]>2013-01-22 02:33:06 +0100
commit297ae32af1ad9b84558c4338f6caf82665d448e0 (patch)
tree3fab2781d492635b45d35847a7a0c48838c2b302 /src/cowboy_websocket_handler.erl
parentfe462599c2c94ab01d3aa4aab383021b673596a2 (diff)
downloadcowboy-297ae32af1ad9b84558c4338f6caf82665d448e0.tar.gz
cowboy-297ae32af1ad9b84558c4338f6caf82665d448e0.tar.bz2
cowboy-297ae32af1ad9b84558c4338f6caf82665d448e0.zip
Fix cowboy_websocket_handler callback spec
Diffstat (limited to 'src/cowboy_websocket_handler.erl')
-rw-r--r--src/cowboy_websocket_handler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_websocket_handler.erl b/src/cowboy_websocket_handler.erl
index 523e8e2..bd2ed5a 100644
--- a/src/cowboy_websocket_handler.erl
+++ b/src/cowboy_websocket_handler.erl
@@ -50,7 +50,7 @@
-type opts() :: any().
-type state() :: any().
--type terminate_reason() :: {normal, closed}
+-type terminate_reason() :: {normal, shutdown}
| {normal, timeout}
| {error, closed}
| {error, badframe}