Extract src/websockets
from Polykey to js-ws
#1
Labels
development
Standard development
r&d:polykey:core activity 1
Secret Vault Sharing and Secret History Management
r&d:polykey:supporting activity
Supporting core activity
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: