[web-devel] A WebSocket library
greg at gregorycollins.net
Tue Sep 27 10:40:13 CEST 2011
On Mon, Sep 26, 2011 at 3:36 AM, Greg Weber <greg at gregweber.info> wrote:
> Hi yi,
> WAI is and will always be designed for HTTP. Websockets is a different
> protocol (even though it is normally initiated over HTTP). If there is a way
> that makes sense to put it websockets into WAI, it can definitely be
> considered. But I believe the current plan is to put Websocket support into
> Warp. Haskell code re-use will be achieved through this Websockets library.
> Does that seem reasonable to you?
Snap was planning on handling this by giving you an "ejector seat"
mechanism in which control completely leaves the HTTP stack and you
get a (readEnd, writeEnd) enumerator/iteratee pair to do whatever you
Gregory Collins <greg at gregorycollins.net>
More information about the web-devel