diff options
Diffstat (limited to 'doc/src/manual')
-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 02d0b86..3332631 100644 --- a/doc/src/manual/gun.asciidoc +++ b/doc/src/manual/gun.asciidoc @@ -693,13 +693,13 @@ HTTP/2 streams can however be cancelled at any time. Alias of `gun:ws_upgrade/3`. -=== ws_upgrade(ConnPid, Path, Headers) -> ok +=== ws_upgrade(ConnPid, Path, Headers) -> ws_upgrade(ConnPid, Path, Headers, #{}) Similar to `gun:ws_upgrade/4`, except `WsOpts` is taken from the options given in the `gun:open/{2,3}` call when opening the connection. -=== ws_upgrade(ConnPid, Path, Headers, WsOpts) -> ok +=== ws_upgrade(ConnPid, Path, Headers, WsOpts) -> StreamRef ConnPid = pid():: The pid of the Gun connection process. Path = iodata():: Path to the resource. |