diff options
Diffstat (limited to 'doc/src/manual/gun.ws_send.asciidoc')
-rw-r--r-- | doc/src/manual/gun.ws_send.asciidoc | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/doc/src/manual/gun.ws_send.asciidoc b/doc/src/manual/gun.ws_send.asciidoc index fbb1025..b39f3f0 100644 --- a/doc/src/manual/gun.ws_send.asciidoc +++ b/doc/src/manual/gun.ws_send.asciidoc @@ -30,8 +30,7 @@ The pid of the Gun connection process. Frames:: -A Websocket frame. -// @todo One or more Websocket frame(s). +One or more Websocket frame(s). == Return value @@ -49,14 +48,14 @@ The atom `ok` is returned. gun:ws_send(ConnPid, {text, <<"Hello world!">>}). ---- -//.Send many frames including a close frame -//[source,erlang] -//---- -//gun:ws_send(ConnPid, [ -// {text, <<"See you later, world!">>}, -// close -//]). -//---- +.Send many frames including a close frame +[source,erlang] +---- +gun:ws_send(ConnPid, [ + {text, <<"See you later, world!">>}, + close +]). +---- == See also |