Showing differences between revisions 36663 and 30591:
--- Original
+++ Current
@@ -1,7 +1,28 @@
+<<info>>
+A WebSocket communication involves a WebSocket server. Mbed decided to provide a WebSocket server to allow
+all mbed users to deploy their WebSocket communications without the need to create their own server.
+<</info>>
+= Protocol used by the server =
+The url format to establish a connection with the server is:
+**__ws:~/~/sockets.mbed.org/ws/<channel>/<mode>__** (Don't try and go here, it will not work, it's a websocket url)
+The WebSockets are divided into channels.
-== The mbed websocket server has now been shut down. ==
+There are **__3 connection modes__**:
+* **__wo__**: write-only: the user can write on a certain channel but cannot receive messages
+* **__ro__**: read-only: the user can read messages on a certain channel but cannot write messages
+* **__rw__**: read-write: the user can read and write messages over a channel
+When the server receives a message from a client **__in a certain channel__** who is **__not in 'ro' mode__**:
+* it will **__broadcast the message to all clients connected to this channel who are in 'rw' or 'ro' mode__**
+<<warning title="info">>
+More information are available on:
+==[[http://sockets.mbed.org/]]==
+<</warning>>
+
+= More details =
+If you want more information on WebSockets, please visit:
+* [[http://mbed.org/cookbook/Websocket-and-Mbed| WebSocket on your mbed]]
* [[http://mbed.org/cookbook/Websockets-Server| Deploy your own WebSocket server]]
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.