extensions

Pextensions
Bun

Symbol

WebSocket.extensions

readonly extensions: string

Returns the extensions selected by the server, if any.

MDN Reference