diff options
Diffstat (limited to 'doc/src/guide/migrating_from_1.3.asciidoc')
-rw-r--r-- | doc/src/guide/migrating_from_1.3.asciidoc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/guide/migrating_from_1.3.asciidoc b/doc/src/guide/migrating_from_1.3.asciidoc index aa7d26b..0afd19e 100644 --- a/doc/src/guide/migrating_from_1.3.asciidoc +++ b/doc/src/guide/migrating_from_1.3.asciidoc @@ -104,7 +104,7 @@ Gun 2.0 requires Erlang/OTP 22.0 or greater. example. * It is now possible to send many Websocket frames in - a single `gun:ws_send/2` call. + a single `gun:ws_send/3` call. * Gun may now send Websocket ping frames automatically at intervals determined by the `keepalive` option. It @@ -186,6 +186,10 @@ Gun 2.0 requires Erlang/OTP 22.0 or greater. cleaner separation between requests that are followed by a body and those that don't. +* The function `gun:ws_send/2` has been replaced with the + function `gun:ws_send/3`. The stream reference for the + corresponding Websocket upgrade request must now be given. + === Messages added * The `gun_tunnel_up` message has been added. |