From d2a3f2cedd7c00d0933222aed9c06b3149aa4db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 4 Apr 2018 13:13:37 +0200 Subject: Cowboy 2.3.0 --- docs/en/gun/1.0/guide/websocket/index.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/en/gun/1.0/guide/websocket/index.html') diff --git a/docs/en/gun/1.0/guide/websocket/index.html b/docs/en/gun/1.0/guide/websocket/index.html index 6c70709d..944cc1a8 100644 --- a/docs/en/gun/1.0/guide/websocket/index.html +++ b/docs/en/gun/1.0/guide/websocket/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Websocket @@ -84,7 +84,7 @@ to Websocket. This function can be called anytime after connection, so you can send HTTP requests before upgrading to Websocket.

Upgrade to Websocket
-
@@ -94,7 +94,7 @@ Websocket upgrade, but you can specify additional headers if needed. For example you can request a custom sub-protocol.

Upgrade to Websocket and request a protocol
-
@@ -116,7 +116,7 @@ to upgrade to Websocket on an HTTP/1.0 connection) then a a meaningful response which should be processed. In the following example we however ignore it:

-
@@ -146,14 +146,14 @@ can only send and receive Websocket messages.

@todo Implement sending of N frames

Send a text frame
-
gun:ws_send(ConnPid, {text, "Hello!"}).
Send a text frame, a binary frame and then close the connection
-
@@ -173,7 +173,7 @@ calling gun:shutdown/1.

Gun sends an Erlang message to the owner process for every Websocket message it receives.

-
-- cgit v1.2.3