iris/_examples/http_responsewriter
Gerasimos (Makis) Maropoulos 5c91440e46 remove any reference to the pre go1.9 context.Context and replace with iris.Context on some places that were forgotten
got an email feedback about this


Former-commit-id: b1caa261a0d425d8db2091bffb8cfd6065c4e1fa
2019-08-11 15:43:47 +03:00
..
content-negotiation add content negotiation feature, add context.ReadYAML and fix https://github.com/kataras/neffos/issues/1#issuecomment-515698536 2019-08-03 04:41:09 +03:00
herotemplate add examples for read using custom decoder per type, read using custom decoder via iris#UnmarshalerFunc and to complete it add an example for the context#ReadXML. 2018-03-08 05:21:16 +02:00
quicktemplate ok almost finished. We're good at deadlines eventually. Tomorrow at 23:59 an article will be published same time with the dev branch merge to master 2017-12-31 02:32:28 +02:00
sse remove any reference to the pre go1.9 context.Context and replace with iris.Context on some places that were forgotten 2019-08-11 15:43:47 +03:00
sse-third-party examples: improve the server-sent events example with a table and javascript use... 2018-08-03 01:59:19 +03:00
stream-writer A better http_responsewriter/stream-writer example, see SSE example for server-side events 2018-04-21 20:46:16 +03:00
transactions remove any reference to the pre go1.9 context.Context and replace with iris.Context on some places that were forgotten 2019-08-11 15:43:47 +03:00
write-gzip add example for the simple context#WriteGzip 2017-12-14 14:15:29 +02:00
write-rest README.md: example change 2018-07-23 15:58:55 +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.