The WebSocket.extensions read-only property returns the extensions selected by the server.
WebSocket.extensions
MDN Reference