WebSocket-Mbed-Server

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]]

Compare Changed Message Modified by Actions
23 Apr 2015 Reverted to "" Stephen Paulger View | Revert
09 Feb 2015 Reverted to "" Xavier Rioux-Chouinard View | Revert
09 Feb 2015 Xavier Rioux-Chouinard View | Revert
20 Oct 2014 Dan Ros View | Revert
17 Aug 2012 Samuel Mokrani View | Revert
17 Aug 2012 Initial revision Samuel Mokrani View | Revert