This page is Almost Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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