aboutsummaryrefslogtreecommitdiffstats
path: root/test/sse_SUITE.erl
AgeCommit message (Collapse)Author
2019-08-05Add flow controlLoïc Hoguin
Flow control is disabled by default. The initial flow value must be set to enable it (either for the entire connection or on a per-request basis). Flow applies to all HTTP streams as well as Websocket. HTTP/2 pushed streams receive the same value as their originating stream.
2019-01-03Update copyright yearsLoïc Hoguin
2018-08-09Add an SSE test for lone id: linesLoïc Hoguin
2018-08-06Rewrite the SSE suite using CowboyLoïc Hoguin
2018-06-04Update copyright yearsLoïc Hoguin
2018-06-03Rename gun_data and gun_sse to gun_data_h and gun_sse_hLoïc Hoguin
2017-12-14Silence export_all warningsLoïc Hoguin
2017-04-27Add content handlers and built-in SSE supportLoï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.