Skip to content
Commits on Aug 14, 2015
  1. Merge pull request #58 from sika-forks/master

    committed
    add option binaryType
Commits on Aug 7, 2015
  1. @ondrejsika

    add option binaryType

    ondrejsika committed
Commits on Feb 26, 2015
  1. Deleting typescript definition.

    committed
    See #44
    
    tl;dr - it makes it harder for contribution. If there's interest in can be maintained externally by typescript users.
    
    Fixes #44
Commits on Feb 25, 2015
  1. Merge pull request #45 from josh/patch-1

    committed
    Fix trailing comma syntax error
  2. @josh

    Fix trailing comma syntax error

    josh committed
  3. Merge pull request #42 from charliesome/max-reconnect-attempts

    committed
    Add maxReconnectAttempts option
Commits on Feb 24, 2015
  1. Merge pull request #43 from josh/feature-check-ws

    committed
    Feature detect WebSockets in older clients
  2. @josh

    Skip defining ReconnectingWebSocket unless WebSocket exists

    josh committed
    Fixes loading script in IE9
  3. @charliesome
  4. @charliesome
  5. @charliesome
  6. @charliesome
Commits on Feb 16, 2015
  1. Merge pull request #41 from yutopp/patch-1

    committed
    Update reconnecting-websockets.d.ts
  2. @yutopp

    Update reconnecting-websockets.d.ts

    yutopp committed
    Add return type annotations to prevent error TS7010.
Commits on Feb 10, 2015
  1. Merge pull request #40 from dsri/master

    committed
    bump version number to 1.0.0; add minified version; add highlighting to readme
Commits on Feb 9, 2015
  1. @dsri
  2. @dsri

    add minified version

    dsri committed
  3. @dsri
Commits on Feb 5, 2015
  1. Merge pull request #39 from splig/master

    committed
    Fix incorrect bower package name
  2. Fix incorrect bower package name

    Craig Greenhouse committed
Commits on Jan 1, 2015
  1. Merge pull request #37 from Jakobud/feature/automatic-open-option

    committed
    Added automaticOpen option. Determines whether or not the socket will be...
Commits on Dec 31, 2014
  1. @Jakobud

    Merge branch 'master' into feature/automatic-open-option

    Jakobud committed
    Conflicts:
    	reconnecting-websocket.js
Commits on Dec 29, 2014
  1. @Jakobud

    Improved the documentation, adding the `automaticOpen` option as well…

    Jakobud committed
    … as describing the publicly available methods.
Commits on Dec 23, 2014
  1. Merge pull request #36 from JamesThorpe/doc-ts

    committed
    Updated ts with new option
Commits on Dec 17, 2014
  1. @Jakobud

    Added automaticOpen option. Determines whether or not the socket will…

    Jakobud committed
    … be creaed and connect automatically upon instantiation or not.
    
    Also changed function connect() to publically available open(). Now the user can manually close() and open() the connection.
    
    Also changed the open() function to use self.url instead of url, allowing a user to change the url if they want. So a user could close(), then change the URL to another websocket URL, then open(). Ultimately a user would most likely just create a different ReconnectingWebSocket instance as that is a better solution and a better practice anyways, but this option was easy to add and probably a good idea to have in there now that a user can manually open() and close() the connection at will.
Commits on Dec 16, 2014
  1. @JamesThorpe

    swapped tab for spaces

    JamesThorpe committed
  2. @JamesThorpe
  3. @JamesThorpe

    Updated default, added documentation

    JamesThorpe committed
    Now defaults to 30,000.  Removed the -1 magic number.  Added
    documentation on use.
  4. @JamesThorpe

    Added option for maxReconnectInterval

    JamesThorpe committed
    Added an extra option to specify the maximum amount of time to wait
    before attempting a reconnect.  Defaults to -1, to keep the current
    behaviour.
  5. Merge pull request #33 from uecasm/patch-1

    committed
    Tidy up events
  6. Merge pull request #34 from uecasm/patch-2

    committed
    Fix TypeError when no options provided
Commits on Dec 15, 2014
  1. @uecasm

    Fix TypeError when no options provided

    uecasm committed
    `TypeError: Cannot read property 'debug' of undefined`
  2. @uecasm

    Tidy up events

    uecasm committed
    1. Avoid generating two `onclose` calls on explicit `close()`.
    2. On disconnect, make the close reason available to `onconnecting`.  (The first connect also fires `onconnecting`, and can be distinguished with `event.code !== undefined` or similar; alternately maybe this should be a "reconnecting" event only?)
    3. Correct typo in generation of `error` event.
    
    Note that having the close reasons on `onconnecting` instead of `onclose` means that it's not completely API compatible with `WebSocket`, but then it wasn't before either.
Commits on Dec 14, 2014
  1. Merge pull request #32 from Jakobud/feature/passable-options

    committed
    Added Passable options
Commits on Dec 13, 2014
  1. @Jakobud

    Fixed typo.

    Jakobud committed
Something went wrong with that request. Please try again.