aboutsummaryrefslogtreecommitdiffstats
path: root/guide/ws_handlers.md
diff options
context:
space:
mode:
Diffstat (limited to 'guide/ws_handlers.md')
-rw-r--r--guide/ws_handlers.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/guide/ws_handlers.md b/guide/ws_handlers.md
new file mode 100644
index 0000000..fc5d953
--- /dev/null
+++ b/guide/ws_handlers.md
@@ -0,0 +1,21 @@
+Websocket handlers
+==================
+
+Purpose
+-------
+
+Websockets are an extension to HTTP to emulate plain TCP connections
+between the user's browser and the server. Requests that are upgraded
+are then handled by websocket handlers.
+
+Both sides of the socket can send data at any time asynchronously.
+
+Callbacks
+---------
+
+@todo Describe the callbacks.
+
+Usage
+-----
+
+@todo Explain how to use them.