You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The websockets domain in Polykey can be extracted out in order to be re-used inside PKE.
Initial usage will just wrap around ws. So no runtimeless support yet. We would later extract the functionality of ws to have runtimeless support.
Proper runtimeless support would need to support TLS too. This is also where we can investigate how to unify the TLS between all the IO libraries. It's possible that the entire state machine can be done in pure JS without involving Rust/C++, it might be fast enough. Doing this would a be separate thing.
Implement the WebSocketStream muxing/demuxing on top of WebSocket connection
Ensure that library works in browser and also on nodejs.
Plan out the roadmap to support runtimeless operation (without ws)
Plan out the roadmap for unified TLS support - assuming runtimeless state machine is pure JS, then TLS operations would have to be exposed via JS routines too (this is necessary to support WSS)
The text was updated successfully, but these errors were encountered:
Specification
The websockets domain in Polykey can be extracted out in order to be re-used inside PKE.
Initial usage will just wrap around
ws
. So no runtimeless support yet. We would later extract the functionality ofws
to have runtimeless support.Proper runtimeless support would need to support TLS too. This is also where we can investigate how to unify the TLS between all the IO libraries. It's possible that the entire state machine can be done in pure JS without involving Rust/C++, it might be fast enough. Doing this would a be separate thing.
Additional context
Tasks
src/websockets
to js-wsWebSocketStream
muxing/demuxing on top ofWebSocket
connectionws
)The text was updated successfully, but these errors were encountered: