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
You have access to the underlying WebSocket via event.target on all event listeners. So you can set that attribute within onopen if you want it. I left a tiny example here if you would like a reference. The example was to save a reference to the socket for later use, which may not be necessary in your case.
Would a developer be able to specify the
binaryType
attribute of the websocket?.. such as what's noted in the MDN docs?Could this be an option or does the developer have access to the native Websocket via sockette?
The text was updated successfully, but these errors were encountered: