Pextensions
Bun

property

WebSocket.extensions

readonly extensions: string

Returns the extensions selected by the server, if any.

MDN Reference