Re: streaming server for Squeak

Philippe Marschall <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <CA+LFMPhFrQ6YrSB7cCOwfLXG4DFRVWpSbTgFUDfAE3P=T3oPzQ@mail.gmail.com>
On Sun, Nov 8, 2015 at 10:58 PM, Chris Muller <[email protected]> wrote:
> I'd like to use Comet in Squeak, but the documentation for getting a
> "streaming server" has gotten out of date.

Streaming and Comet in Seaside terminology are two different concepts.
Streaming refers to sending part of the response as you're generating
it. Comet is the precursor to Server Sent Events or WebSockets.

> What is currently the
> proper way to do this in Seaside 3.2 for Squeak 5?

AFAIK this was only ever implemented for Comanche/Kom
AFAIK the implementation is a bit hairy, AFAIK it does:

thisContext swapSender: nil

I wouldn't describe this code production ready.

Cheers
Philippe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.