Closed tony-o closed 7 years ago
Right now I'm toying with implementing websockets by giving a handler a way to "take over" the socket and shut down the "async read loop" thingie we have in the server.
I'd probably implement websockets in a whole separate module, as it pulls in at least Digest and MIME::Base64 for the handshake ...
actually, could you stop by on irc some time soon so that we can discuss how to do the hand-over of the socket properly? i can't seem to find a good way to properly do it by re-tapping, and jnthn advised against that anyway ...
@timo checkout /examples/connection_hijack.pl6
for an example of how to hijack the connection (includes previously gathered data)
Support them.
via TimoTimo