Back to Content

WebSocket: extensions property

files/en-us/web/api/websocket/extensions/index.md

latest344 B
Original Source

{{APIRef("Web Sockets API")}}{{AvailableInWorkers}}

The WebSocket.extensions read-only property returns the extensions selected by the server. This is currently only the empty string or a list of extensions as negotiated by the connection.

Value

A string.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}