iris/_examples/http_responsewriter
Gerasimos (Makis) Maropoulos f75ec4e67c change the JS MIME to text/javascript instead of application/javascript as https://github.com/golang/go/issues/32351
Former-commit-id: 761be7901fff65ef0ca6e3ea4339ff59f569cf75
2020-04-27 12:28:30 +03:00
..
content-negotiation change the JS MIME to text/javascript instead of application/javascript as https://github.com/golang/go/issues/32351 2020-04-27 12:28:30 +03:00
herotemplate examples: replace all app.Run(iris.Addr(...)) with app.Listen just for the shake of simplicity, both are doing the same exact thing as it's described on the http listening first example. 2020-03-05 22:41:27 +02:00
quicktemplate examples: replace all app.Run(iris.Addr(...)) with app.Listen just for the shake of simplicity, both are doing the same exact thing as it's described on the http listening first example. 2020-03-05 22:41:27 +02:00
sse examples: replace all app.Run(iris.Addr(...)) with app.Listen just for the shake of simplicity, both are doing the same exact thing as it's described on the http listening first example. 2020-03-05 22:41:27 +02:00
sse-third-party examples: replace all app.Run(iris.Addr(...)) with app.Listen just for the shake of simplicity, both are doing the same exact thing as it's described on the http listening first example. 2020-03-05 22:41:27 +02:00
stream-writer examples: replace all app.Run(iris.Addr(...)) with app.Listen just for the shake of simplicity, both are doing the same exact thing as it's described on the http listening first example. 2020-03-05 22:41:27 +02:00
transactions examples: replace all app.Run(iris.Addr(...)) with app.Listen just for the shake of simplicity, both are doing the same exact thing as it's described on the http listening first example. 2020-03-05 22:41:27 +02:00
write-gzip examples: replace all app.Run(iris.Addr(...)) with app.Listen just for the shake of simplicity, both are doing the same exact thing as it's described on the http listening first example. 2020-03-05 22:41:27 +02:00
write-rest change the JS MIME to text/javascript instead of application/javascript as https://github.com/golang/go/issues/32351 2020-04-27 12:28:30 +03:00
README.md Add notes for the new lead maintainer of the open-source iris project and align with @get-ion/ion by @hiveminded 2017-07-10 18:32:42 +03:00

The context.ResponseWriter() returns an enchament version of a http.ResponseWriter, the examples show some places where the Context uses this object. Besides that you can use it as you did before iris.