WebSocket.extensions

Summary

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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes ?8 ? Yes ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? Yes ?8 ? ? ?

Document Tags and Contributors

Contributors to this page: fscholz, Claas
Last updated by: fscholz,