Browse Source

Fix cowboy_websocket_handler callback spec

Loïc Hoguin 12 years ago
parent
commit
297ae32af1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/cowboy_websocket_handler.erl

+ 1 - 1
src/cowboy_websocket_handler.erl

@@ -50,7 +50,7 @@
 
 
 -type opts() :: any().
 -type opts() :: any().
 -type state() :: any().
 -type state() :: any().
--type terminate_reason() :: {normal, closed}
+-type terminate_reason() :: {normal, shutdown}
 	| {normal, timeout}
 	| {normal, timeout}
 	| {error, closed}
 	| {error, closed}
 	| {error, badframe}
 	| {error, badframe}