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.
Syntax
var extensions = aWebSocket.extensions;
Value
A DOMString
.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'WebSocket: extensions' in that specification. |
Living Standard | Initial definition |
Browser compatibility
BCD tables only load in the browser