[racket-dev] net/http-client

From: Sam Tobin-Hochstadt (samth at cs.indiana.edu)
Date: Mon Aug 26 08:46:40 EDT 2013

On Fri, Aug 23, 2013 at 2:48 PM, Jay McCarthy <jay.mccarthy at gmail.com>
wrote:
>
> I feel that the only thing it could do better is support two more
> options for #:data:
> - A input-port? to read from and copy to the HTTP connection
> - A (-> output-port? void) function to call with the HTTP connection's
> output port to stream the data
>
> But I'd like a second opinion before adding them.

Those both sound great, but why force the second one return `void?` For
example, I might want to stream the data directly into a JSON parser.

Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20130826/aab7a899/attachment.html>

Posted on the dev mailing list.