aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_websocket_handler.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cowboy_websocket_handler.erl b/src/cowboy_websocket_handler.erl
index bd2ed5a..8bbbc08 100644
--- a/src/cowboy_websocket_handler.erl
+++ b/src/cowboy_websocket_handler.erl
@@ -53,6 +53,9 @@
-type terminate_reason() :: {normal, shutdown}
| {normal, timeout}
| {error, closed}
+ | {remote, closed}
+ | {remote, cowboy_websocket:close_code(), binary()}
+ | {error, badencoding}
| {error, badframe}
| {error, atom()}.