mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
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.
This commit is contained in:
parent
2690d1254c
commit
06e74355c0
11 changed files with 353 additions and 10 deletions
23
guide/loop_handlers.md
Normal file
23
guide/loop_handlers.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
Loop handlers
|
||||
=============
|
||||
|
||||
Purpose
|
||||
-------
|
||||
|
||||
Loop handlers are a special kind of HTTP handlers used when the
|
||||
response can not be sent right away. The handler enters instead
|
||||
a receive loop waiting for the right message before it can send
|
||||
a response.
|
||||
|
||||
They are most useful when performing long-polling operations or
|
||||
when using server-sent events.
|
||||
|
||||
Callbacks
|
||||
---------
|
||||
|
||||
@todo Describe the callbacks.
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
@todo Explain how to use them.
|
Loading…
Add table
Add a link
Reference in a new issue