diff options
author | Loïc Hoguin <[email protected]> | 2018-09-11 14:33:58 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-09-11 14:33:58 +0200 |
commit | 8404b1c908ac890925496ce839e5b2b2b407a6f7 (patch) | |
tree | b717bdc70f5bcf3d355f00f01081a8f00ac5eee8 /examples/markdown_middleware/src/markdown_middleware_app.erl | |
parent | 4b385749f2aab90b5c7e44e844159c0221a8790d (diff) | |
download | cowboy-8404b1c908ac890925496ce839e5b2b2b407a6f7.tar.gz cowboy-8404b1c908ac890925496ce839e5b2b2b407a6f7.tar.bz2 cowboy-8404b1c908ac890925496ce839e5b2b2b407a6f7.zip |
Add a commands-based interface to Websocket handlers
This feature is currently experimental. It will become the
preferred way to use Websocket handlers once it becomes
documented.
A commands-based interface enables adding commands without
having to change the interface much. It mirrors the interface
of stream handlers or gen_statem. It will enable adding
commands that have been needed for some time but were not
implemented for fear of making the interface too complex.
Diffstat (limited to 'examples/markdown_middleware/src/markdown_middleware_app.erl')
0 files changed, 0 insertions, 0 deletions