WebSocketStream is not a shipped API so normally we wouldn't announce
changes, but I know some people are trying it out using the experimental
flag, so I am sending this PSA.

>From Chromium version 117.0.5914.0 onwards, the "connection" attribute has
been renamed to "opened".

Where previously you would have written

const { readable, writable, protocol, extensions } = await wss.connection;


now you should write:

const { readable, writable, protocol, extensions } = await wss.opened;


The explainer <https://github.com/ricea/websocketstream-explainer> has
already been updated to the new API.

This change was made for alignment with the Direct Sockets API.

Shipping WebSocketStream is currently stalled on the standardisation
process. We don't yet have a concrete timeline for when it will be shipped.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAC_ixdzhuZz9c%3DsPB5H%3DZXE%2BU%2B%3Drfd9wPXU3Fc4PiyhXMWc3yw%40mail.gmail.com.

Reply via email to