diff options
Diffstat (limited to 'guide/websocket.md')
-rw-r--r-- | guide/websocket.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guide/websocket.md b/guide/websocket.md index bfe5f04..26b73c2 100644 --- a/guide/websocket.md +++ b/guide/websocket.md @@ -32,7 +32,7 @@ message. receive {gun_ws_upgrade, Pid, ok} -> upgrade_success(Pid); - {gun_ws_upgrade, Pid, error, Status, Headers} -> + {gun_ws_upgrade, Pid, error, IsFin, Status, Headers} -> exit({ws_upgrade_failed, Status, Headers}); %% More clauses here as needed. after 1000 -> |