aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/gun_ws.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/manual/gun_ws.asciidoc')
-rw-r--r--doc/src/manual/gun_ws.asciidoc5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/manual/gun_ws.asciidoc b/doc/src/manual/gun_ws.asciidoc
index 127f2a2..374b0b3 100644
--- a/doc/src/manual/gun_ws.asciidoc
+++ b/doc/src/manual/gun_ws.asciidoc
@@ -12,9 +12,10 @@ gun_ws - Websocket frame
ConnPid :: pid()
StreamRef :: reference()
-Frame :: close
+Frame :: close | ping | pong
| {text | binary | close, binary()}
| {close, non_neg_integer(), binary()}
+ | {ping | pong, binary()}
----
Websocket frame.
@@ -41,6 +42,8 @@ The Websocket frame in question.
== Changelog
+* *2.0*: Depending on the option `silence_pings`, ping and
+ pong frames may be sent as well.
* *1.0*: Message introduced.
== Examples