Skip to content

A simple browser websocket implementation with jsonp polling fallback.

License

Notifications You must be signed in to change notification settings

omarmeky/simple-socket

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Originally a fork of jquery-graceful-websocket.

Added features:

  • Removed jQuery dependency
  • Support for IE8
  • Fallback polling uses JSONP for CORS support
var simpleSocket = require('simple-socket');
var ws = simpleSocket.init(ws://localhost/blah);

// handlers are the same as jquery-graceful-websocket

About

A simple browser websocket implementation with jsonp polling fallback.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%