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
In an application I'm working on I'd like to check that the socket has flushed data. This can be done using socket.bufferedAmount according to this SO post
Could this library support a function to check this, or simply expose the underlying socket object for these use cases, e.g:
The underlying socket is available to any & all event handlers. The WebSocket is an event emitter, so the current, up-to-date WebSocket instance is always available as ev.target. You can save that reference and do whatever you'd like with it!
In an application I'm working on I'd like to check that the socket has flushed data. This can be done using
socket.bufferedAmount
according to this SO postCould this library support a function to check this, or simply expose the underlying socket object for these use cases, e.g:
The text was updated successfully, but these errors were encountered: