mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
22 lines
400 B
Markdown
22 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.
|