mozilla

Revision 785 of WebSockets

  • Revision slug: WebSockets
  • Revision title: WebSockets
  • Revision id: 785
  • Created:
  • Creator: inma_610
  • Is current revision? No
  • Comment 15 words added

Revision Content

{{ gecko_minversion_header("2.0") }}

WebSockets is a technology that makes it possible to open an interactive communication session between the user's browser and a server. Because this technology is still in development, it is currently disabled by default and we do not yet have documentation for it.

Warning: Among other things, a key reason WebSockets is currently disabled by default is the discovery of a security issue in the protocol's design. Using WebSockets in a production environment is not recommended at this time.

Enabling WebSockets

If you wish to experiment with WebSockets, you may do so by opening about:config and setting the network.websocket.enabled preference to true. You will also need to set the network.websocket.override-security-block preference to true in order to allow initializing a WebSocket connection.

See also

{{ languages ( {"es": "es/WebSockets"} ) }}

Revision Source

<p>{{ gecko_minversion_header("2.0") }}</p>
<p>WebSockets is a technology that makes it possible to open an interactive communication session between the user's browser and a server. Because this technology is still in development, it is currently disabled by default and we do not yet have documentation for it.</p>
<div class="warning"><strong>Warning:</strong> Among other things, a key reason WebSockets is currently disabled by default is the discovery of a <a class=" external" href="http://www.ietf.org/mail-archive/web/hybi/current/msg04744.html" title="http://www.ietf.org/mail-archive/web/hybi/current/msg04744.html">security issue in the protocol's design</a>. Using WebSockets in a production environment is not recommended at this time.</div>
<h2>Enabling WebSockets</h2>
<p>If you wish to experiment with WebSockets, you may do so by opening <code>about:config</code> and setting the <code>network.websocket.enabled</code> preference to <code>true</code>. You will also need to set the <code>network.websocket.override-security-block</code> preference to <code>true</code> in order to allow initializing a WebSocket connection.</p>
<h2>See also</h2>
<ul> <li><a class=" external" href="http://dev.w3.org/html5/websockets/" title="http://dev.w3.org/html5/websockets/">WebSocket API Specification</a></li>
</ul>
<p>{{ languages ( {"es": "es/WebSockets"} ) }}</p>
Revert to this revision