On Sun, Apr 7, 2019 at 3:38 AM Lassi Kortela <xxxxxx@lassi.io> wrote:
Is anyone here familiar with WebSockets? I know absolutely nothing about
them. Does the simple request handler abstraction still work with them
or will we have to make changes?

I've just learned that the underlying mechanism behind WebSockets has to change quite a bit to accommodate HTTP/2:

 https://medium.com/@pgjones/http-2-websockets-81ae3aab36dd

On Sun, Apr 7, 2019 at 3:59 AM Peter Bex <xxxxxx@more-magic.net> wrote:
 
You could have a look at the CHICKEN egg (currently only available for
the deprecated CHICKEN 4) at https://bitbucket.org/thomashintz/websockets/src
As you can see from the code, it takes quite a lot of code to implement
this stuff.

Generally, the more klugey the mechanism, the more code required to implement it.  WebSockets are a necessary evil, but what a lot of layers of complexity to add to get back to what amounts to basic TCP/IP!