aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-05-07 14:18:37 +0200
committerLoïc Hoguin <[email protected]>2018-05-07 14:18:37 +0200
commit1e09dc37cf02a389db099837a9863e86435c5f0b (patch)
tree9d2768e54becd6f1fb87d9a67d1dff3da0a62f76 /doc/src/manual
parentddd03ed95098d6664ed9b623d8b9b830f7e28815 (diff)
downloadgun-1e09dc37cf02a389db099837a9863e86435c5f0b.tar.gz
gun-1e09dc37cf02a389db099837a9863e86435c5f0b.tar.bz2
gun-1e09dc37cf02a389db099837a9863e86435c5f0b.zip
Make sure ws_upgrade/3 and /4 are considered different
Diffstat (limited to 'doc/src/manual')
-rw-r--r--doc/src/manual/gun.asciidoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/manual/gun.asciidoc b/doc/src/manual/gun.asciidoc
index 3332631..0c6dd08 100644
--- a/doc/src/manual/gun.asciidoc
+++ b/doc/src/manual/gun.asciidoc
@@ -689,11 +689,11 @@ the stream and stop relaying messages.
HTTP/2 streams can however be cancelled at any time.
-=== ws_upgrade(ConnPid, Path) -> ws_upgrade(ConnPid, Path, [], #{})
+=== ws_upgrade(ConnPid, Path) -> ws_upgrade(ConnPid, Path, [])
Alias of `gun:ws_upgrade/3`.
-=== ws_upgrade(ConnPid, Path, Headers) -> ws_upgrade(ConnPid, Path, Headers, #{})
+=== ws_upgrade(ConnPid, Path, Headers) -> StreamRef
Similar to `gun:ws_upgrade/4`, except `WsOpts` is taken from
the options given in the `gun:open/{2,3}` call when opening