diff options
author | Loïc Hoguin <[email protected]> | 2013-01-01 18:27:41 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-01-01 18:27:41 +0100 |
commit | 06e74355c0a993b416b21bb4e9586c37973e8d83 (patch) | |
tree | bb70dc2d6369637d5663c01e031f3da875eb3dc9 /guide/ws_handlers.md | |
parent | 2690d1254caffa2d85965baf95ed005c39fc820a (diff) | |
download | cowboy-06e74355c0a993b416b21bb4e9586c37973e8d83.tar.gz cowboy-06e74355c0a993b416b21bb4e9586c37973e8d83.tar.bz2 cowboy-06e74355c0a993b416b21bb4e9586c37973e8d83.zip |
Add a skeleton of the guide to ease user contributions
Has some stuff that aren't in master yet, and lacks a lot more
that is already in master.
Diffstat (limited to 'guide/ws_handlers.md')
-rw-r--r-- | guide/ws_handlers.md | 21 |
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. |