Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WebSockets (sflive2012)

WebSockets (sflive2012)

Igor Wiedler

June 08, 2012
Tweet

More Decks by Igor Wiedler

Other Decks in Programming

Transcript

  1. WEB

  2. BUT

  3. var ws = new WebSocket('ws://example.org:8080/updates'); ws.onopen = function () {

    ws.send('hello'); }; ws.onmessage = function (event) { console.log(event.data); };
  4. *MQ