From c807880f7ac73f813b2660ea81a00f7712a4e793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 29 Aug 2016 12:39:49 +0200 Subject: Add old mailing list archives --- .../archives/extend/2012-December/000019.html | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 _build/static/archives/extend/2012-December/000019.html (limited to '_build/static/archives/extend/2012-December/000019.html') diff --git a/_build/static/archives/extend/2012-December/000019.html b/_build/static/archives/extend/2012-December/000019.html new file mode 100644 index 00000000..910bc5d4 --- /dev/null +++ b/_build/static/archives/extend/2012-December/000019.html @@ -0,0 +1,77 @@ + + + + [99s-extend] Streaming response in cowboy question + + + + + + + + + + +

[99s-extend] Streaming response in cowboy question

+ Loïc Hoguin + essen at ninenines.eu +
+ Wed Dec 12 22:30:46 CET 2012 +

+
+ +
On 12/12/2012 10:14 PM, Grzegorz Junka wrote:
+> I am implementing a proxy on top of Cowboy. Is it possible to stream the
+> response back to Cowboy as I receive it from the destination server?
+>
+> I am thinking about something like specifying a fun instead of Response
+> Body when sending the reply so that Cowboy could call it to receive the
+> response in chunks (see send_req in
+> https://github.com/cmullaparthi/ibrowse/blob/master/src/ibrowse.erl).
+
+Lookup cowboy_req:set_resp_body_fun? Tell me if that fits your needs.
+
+-- 
+Loïc Hoguin
+Erlang Cowboy
+Nine Nines
+http://ninenines.eu
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ -- cgit v1.2.3