Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-03 | Update copyright years | Loïc Hoguin | |
2018-08-09 | Add an SSE test for lone id: lines | Loïc Hoguin | |
2018-08-06 | Rewrite the SSE suite using Cowboy | Loïc Hoguin | |
2018-06-04 | Update copyright years | Loïc Hoguin | |
2018-06-03 | Rename gun_data and gun_sse to gun_data_h and gun_sse_h | Loïc Hoguin | |
2017-12-14 | Silence export_all warnings | Loïc Hoguin | |
2017-04-27 | Add content handlers and built-in SSE support | Loïc Hoguin | |
Content handlers are a chain of modules implementing callbacks that receive the body of responses and may modify it (for example for decompressing the content) or act upon it (like sending a message to the owner process. The gun_sse content handler module can be used to translate text/event-stream events on the fly and deliver them to the owner process as a {gun_sse...} message. This feature is currently not documented and is only tested against a public server. It requires an up to date Cowlib. |