Просмотр исходного кода

Fix cowboy_websocket_handler callback spec

Loïc Hoguin 12 лет назад
Родитель
Сommit
297ae32af1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/cowboy_websocket_handler.erl

+ 1 - 1
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}