Websocket support is part of the Ring 2.0 specification. However, it can be implemented independently to the other changes, and a more piecemeal improvement of Ring may be a more pragmatic path.
In the specification, a protocol for a websocket listener is described. The original specification lacked ping/pong support, on the basis that there may be some platforms that don't support it. However, after some research I've been unable to find any platforms that lack this feature, so I believe it makes sense to have the listener protocol defined as:
Websocket support is part of the Ring 2.0 specification. However, it can be implemented independently to the other changes, and a more piecemeal improvement of Ring may be a more pragmatic path.
In the specification, a protocol for a websocket listener is described. The original specification lacked ping/pong support, on the basis that there may be some platforms that don't support it. However, after some research I've been unable to find any platforms that lack this feature, so I believe it makes sense to have the listener protocol defined as:
Likewise, the socket protocols: