mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 04:51:56 +00:00
examples: improve the server-sent events example with a table and javascript use...
Former-commit-id: 20a6dd0e62679b20fefb2f0a7819c158247a3ca1
This commit is contained in:
@@ -394,8 +394,8 @@ You can serve [quicktemplate](https://github.com/valyala/quicktemplate) and [her
|
||||
- [Write Gzip](http_responsewriter/write-gzip/main.go)
|
||||
- [Stream Writer](http_responsewriter/stream-writer/main.go)
|
||||
- [Transactions](http_responsewriter/transactions/main.go)
|
||||
- [SSE (Server Side Events)](http_responsewriter/server-side-events/main.go) **NEW**
|
||||
- [SSE (third-party package usage for server-side events)](http_responsewriter/sse-third-party/main.go)
|
||||
- [SSE](http_responsewriter/sse/main.go) **NEW**
|
||||
- [SSE (third-party package usage for server sent events)](http_responsewriter/sse-third-party/main.go)
|
||||
|
||||
> The `context/context#ResponseWriter()` returns an enchament version of a http.ResponseWriter, these examples show some places where the Context uses this object. Besides that you can use it as you did before iris.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user