From 7e37206aca56e35defa7737c7e6179792c801ca0 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 29 Sep 2012 02:54:46 -0500 Subject: stop slacking on the docs --- lib/Web/Response.pm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/lib/Web/Response.pm b/lib/Web/Response.pm index 0526815..ae22bc0 100644 --- a/lib/Web/Response.pm +++ b/lib/Web/Response.pm @@ -274,6 +274,11 @@ overloads C<"">, an arrayref containing a list of either of those, a filehandle, or an object that implements the C and C methods. Defaults to C<[]>. +=item streaming_response + +Instead of C/C/C, you can provide a coderef which +implements the streaming response API described in the L specification. + =item cookies A hashref of cookies to return with the response. The values in the hashref can @@ -285,6 +290,15 @@ from C