Proposals for Squeak 4.5 (was Re: [squeak-dev] Re: Streaming directly
from WebResponse content to SketchMorph)
Edgar J. De Cleene
edgardec2005 at gmail.com
Fri Oct 19 10:27:36 UTC 2012
On 10/18/12 6:38 PM, "Colin Putney" <colin at wiresong.com> wrote:
>> Sounds like a reason to use Xtreams...
>
> Yes, this sort of thing is where Xtreams shines. The Altitude http
> client examines the Content-Length header, then returns a limited
> stream, so that you can read the response content until the end of the
> stream and close it when you're done, without blocking on a socket
> read or closing the socket. Xtreams also has a buffering stream so
> that clients like PNGReadWriter can skip around, even when the
> underlying data source doesn't support that.
>
> Colin
I wish Xtreams become first citizen in Squeak 4.5.
By the way, great job of Frank in
http://wiki.squeak.org/squeak/6188
Edgar
More information about the Squeak-dev
mailing list
|