diff options
author | magicgoose <[email protected]> | 2015-10-22 09:14:51 +0300 |
---|---|---|
committer | magicgoose <[email protected]> | 2015-10-22 09:14:51 +0300 |
commit | 6b668fdb3ca13ef3af37ed8b1f019ab8bc868ae3 (patch) | |
tree | 365929e97e1edbacfd592aa47c304b1940ddc6f4 | |
parent | f5ce5efe00b9a0573a53e5cffc0704b57c083831 (diff) | |
download | gun-6b668fdb3ca13ef3af37ed8b1f019ab8bc868ae3.tar.gz gun-6b668fdb3ca13ef3af37ed8b1f019ab8bc868ae3.tar.bz2 gun-6b668fdb3ca13ef3af37ed8b1f019ab8bc868ae3.zip |
fixed typo in code snippet
-rw-r--r-- | doc/src/guide/websocket.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/guide/websocket.asciidoc b/doc/src/guide/websocket.asciidoc index 35580ca..5a1957c 100644 --- a/doc/src/guide/websocket.asciidoc +++ b/doc/src/guide/websocket.asciidoc @@ -58,7 +58,7 @@ receive {gun_response, ConnPid, _, _, Status, Headers} -> exit({ws_upgrade_failed, Status, Headers}); {gun_error, ConnPid, StreamRef, Reason} -> - exit({ws_upgrade_failed, Reason}); + exit({ws_upgrade_failed, Reason}) %% More clauses here as needed. after 1000 -> exit(timeout); |