mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00

Has some stuff that aren't in master yet, and lacks a lot more that is already in master.
21 lines
400 B
Markdown
21 lines
400 B
Markdown
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.
|