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
I'm currently using websockify to implement the Java networking stack for a javascript-based Java VM called Doppio.
I'm needing to directly access the readyState of the underlying WebSocket object that backs Websock. This information can be derived using the on* callbacks, but our javascript (unfortunately) might not let the browser event loop run for several seconds. readyState appears to be a quicker, easier, and more importantly synchronous way to get the same information. Implementing this accessor and exposing it via the API is trivial, but I was wanting to avoid forking and wanted your opinions regarding adding said accessor. If you all think it would be a positive upstream contribution, I can submit a pull request.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm currently using websockify to implement the Java networking stack for a javascript-based Java VM called Doppio.
I'm needing to directly access the
readyState
of the underlyingWebSocket
object that backsWebsock
. This information can be derived using theon*
callbacks, but our javascript (unfortunately) might not let the browser event loop run for several seconds.readyState
appears to be a quicker, easier, and more importantly synchronous way to get the same information. Implementing this accessor and exposing it via the API is trivial, but I was wanting to avoid forking and wanted your opinions regarding adding said accessor. If you all think it would be a positive upstream contribution, I can submit a pull request.Thanks!
The text was updated successfully, but these errors were encountered: