diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/manual/gun.asciidoc | 4 |
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 |