[racket-dev] net/http-client
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>