extensions
Summary
The extensions selected by the server.
Property of apis/websocket/WebSocketapis/websocket/WebSocket
Syntax
Note: This property is read-only.
var result = element.extensions;
Return Value
Returns an object of type StringString
Notes
This is either the empty string or a list of extensions as negotiated by the connection.
Currently, Windows Internet Explorer does not support any extensions. The property always returns an empty string.
Related specifications
- W3C WebSocket Specification
- W3C Candidate Recommendation
Attributions
Mozilla Developer Network : Article
Microsoft Developer Network: Windows Internet Explorer API reference Article