33 Commits
Author SHA1 Message Date
Mark Schisler ec4378ca49 Handling reconnect scenarios properly when socket is hung 2021-08-19 09:45:54 -05:00
Wyatt Mufson 9609774b3a Fix swift warnings 2021-06-17 11:38:43 -04:00
Erik Little fde88c10c5 Support both v2 and v3 2021-01-27 13:22:14 -05:00
Erik Little d7d8903fee Add ability to send payload with connect 2020-11-07 18:53:06 -05:00
Erik Little 7ce0d99526 Fix tests 2020-11-07 17:06:05 -05:00
Erik Little 6cd8f79e8b Support socket.io 3 + starscream 4 2020-11-07 15:13:52 -05:00
Erik Little 5dcfe18748 bump version and docs 2019-05-28 09:09:24 -04:00
Andy 9433050588 config setting and test updates for reconnectWaitMax and randomizationFactor 2019-01-12 22:05:01 +00:00
Andy 49b9a07a95 add configurable exponential backoff 2019-01-12 19:44:51 +00:00
Valentin Slawicek a4b334b6f2 Don’t create empty closures when we don’t need them.
Fixes https://github.com/socketio/socket.io-client-swift/issues/1118.
2018-11-07 12:37:48 +01:00
Valentin Slawicek 5a6a4f02d9 Propagate http header callback from websocket back to client. 2018-10-17 21:38:19 +02:00
Erik LittleandGitHub e5f3fb13ae Merge pull request #1097 from cobrowseio/writecompletion
Add optional write completion handler for emit's
2018-10-04 06:56:18 -04:00
Andy f9d8595a25 add optional write completion handler for emit's 2018-09-29 16:29:58 +07:00
Erik Little 520ff72395 Be sure to keep secure config even if config is changed. Fix #1078 2018-08-30 09:14:34 -04:00
Erik Little 165ec25713 Add isBinary property to SocketPacket.PacketType 2018-07-29 10:23:41 -04:00
Erik Little 6db5348daa use AnyObject over class in protocols 2018-07-27 08:42:30 -04:00
Erik Little 5fdff65281 Clarify comments to explain why we did the move 2018-06-07 07:15:43 -04:00
Erasov Ivan feb476c76b Added comments to document changes reasons 2018-06-07 13:42:13 +03:00
Erasov Ivan b258a93750 Fixed loosing POST packets on web socket connection failure and engine memory leak on server errors. 2018-06-07 13:13:44 +03:00
Erik Little 4ea1bb9c43 Add note about manager not being thread safe 2018-05-10 07:46:38 -04:00
Erik Little d24e8f83c6 Set reconnectAttempts in manager. Fixes #989 2018-03-30 09:40:19 -04:00
Henri Salminen 8df1a12412 Fixes build warnings caused by documentation issues. 2018-01-30 14:28:58 +02:00
Erik Little 4ec634ccfd Merge branch 'master' of https://github.com/slidoooor/socket.io-client-swift into development
* 'master' of https://github.com/slidoooor/socket.io-client-swift:
  fix insert invoked twice
2018-01-10 08:11:17 -05:00
slidoooor fa7fcc8c3b fix insert invoked twice 2018-01-10 13:21:30 +08:00
Erik Little 8eca6249c0 add , to disconnect 2018-01-07 18:23:36 -05:00
Erik Little 658d5f5b71 Fix #923 2018-01-07 12:24:20 -05:00
Erik Little 9224e2b3e6 update reconnect documentation 2018-01-05 09:25:54 -05:00
Erik Little a611aee899 Fix #882. Don't automatically remove sockets from nsps since they might be used again 2017-11-28 08:10:45 -05:00
Erik Little 05943767e5 Fix #865 2017-11-14 07:16:44 -05:00
Erik Little fa34cd9be5 Fix documentation 2017-11-12 12:36:11 -05:00
Erik Little 3595662729 don't return optional from defaultSocket 2017-11-12 10:32:59 -05:00
Erik Little cf597ae09d Don't use NSDictionary in definitions 2017-10-22 10:26:16 -04:00
Erik Little 5b52edd880 Add SocketManager for multiplexing namespaces 2017-10-21 17:17:29 -04:00