Re: Protocols.HTTP.Server.Request and streaming responses

Arne Goedeke <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
Many years back I wrote a xhr streaming based implementation for
pike/js. My current version is a shim that implements a WebSocket
compatible interface in javascript (unless it exists) and has a
corresponding pike side. However, I have not really used it in
production, because IE is not something that I need to support.
It should however work all the way back to IE6.

If that code is something you are interested in, let me know. I can push
that somewhere.

arne

On Thu, 14 Aug 2014, Stephen R. van den Berg wrote:

> Stephen R. van den Berg wrote:
>> Arne Goedeke wrote:
>>> I usually ended up taking over the Stdio.File object and doing chunked
>>> encoding on top of that. Consider using WebSockets, it might be more
>>> convenient.
>
>> WebSockets seem to be exactly what I need.  The documentation on the Pike
>> side is still a bit skimpy.
>
>> Does anyone have any sample Pike code that uses them?
>
> It seems like I might want a socket.io compatible implementation, with
> fallbacks for MSIE and sorts.
> Anyone ever dabbled with that?
> -- 
> Stephen.
>
>
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.