1. 06 4月, 2016 1 次提交
  2. 29 3月, 2016 1 次提交
  3. 14 8月, 2015 1 次提交
  4. 08 8月, 2015 1 次提交
  5. 27 2月, 2015 1 次提交
    • J
      Deleting typescript definition. · 5bc6436e
      Joe Walnes 提交于
      See #44
      
      tl;dr - it makes it harder for contribution. If there's interest in can be maintained externally by typescript users.
      
      Fixes #44
      5bc6436e
  6. 26 2月, 2015 2 次提交
  7. 25 2月, 2015 2 次提交
  8. 24 2月, 2015 5 次提交
  9. 17 2月, 2015 1 次提交
  10. 16 2月, 2015 1 次提交
  11. 10 2月, 2015 4 次提交
  12. 05 2月, 2015 2 次提交
  13. 02 1月, 2015 1 次提交
  14. 31 12月, 2014 1 次提交
  15. 29 12月, 2014 1 次提交
  16. 24 12月, 2014 1 次提交
  17. 17 12月, 2014 5 次提交
    • J
      Added automaticOpen option. Determines whether or not the socket will be... · be51b4bb
      Jake Wilson 提交于
      Added automaticOpen option. Determines whether or not the socket will 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.
      be51b4bb
    • J
      swapped tab for spaces · 46399e63
      JamesThorpe 提交于
      46399e63
    • J
      Added maxreconnectinterval to ts definition · e4de33b9
      JamesThorpe 提交于
      e4de33b9
    • J
      Updated default, added documentation · d97587b4
      JamesThorpe 提交于
      Now defaults to 30,000.  Removed the -1 magic number.  Added
      documentation on use.
      d97587b4
    • J
      Added option for maxReconnectInterval · 39e14387
      JamesThorpe 提交于
      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.
      39e14387
  18. 16 12月, 2014 2 次提交
  19. 15 12月, 2014 3 次提交
    • G
      Fix TypeError when no options provided · 29255d3f
      Gavin Lambert 提交于
      `TypeError: Cannot read property 'debug' of undefined`
      29255d3f
    • G
      Tidy up events · 8a5164b6
      Gavin Lambert 提交于
      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.
      8a5164b6
    • J
      Merge pull request #32 from Jakobud/feature/passable-options · 5a883c49
      Joe Walnes 提交于
      Added Passable options
      5a883c49
  20. 13 12月, 2014 2 次提交
  21. 12 12月, 2014 2 次提交