1727 Commits

Author SHA1 Message Date
Andy
a17a66af00 add changelog entry for exponential backoff 2019-01-14 19:16:58 +00: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
Erik Little
f407beab99
Fix #1147 2019-01-11 12:39:54 -05:00
Erik Little
fa81fc222f
Merge pull request #1126 from DmitryPR/swift-update
Swift update
2018-11-28 17:26:46 -05:00
Erik Little
649989fd83
Merge branch 'master' into development
* master:
  bump version
2018-11-28 17:23:34 -05:00
Erik Little
f7ef126d97
bump version v13.4.0 2018-11-28 17:14:29 -05:00
Erik Little
e4f63e8f15
Merge branch 'development'
* development:
  Remove unnecessary function calls.
  Fix build
  Don’t create empty closures when we don’t need them. Fixes https://github.com/socketio/socket.io-client-swift/issues/1118.
  Propagate http header callback from websocket back to client.
  clean up emit completion code
  update cartfile too
  update deps: Fix #1105
  update xcode settings
  convert SocketData to serialisable socket representation
  Add a variadic method for emit completion handlers in swift
  no need to capture completion hander in wrapper
  wrap completion handler to run on handleQueue
  add optional write completion handler for emit's
2018-11-28 17:08:17 -05:00
Dmitry Preobrazhenskiy
3cfd12b0bc Bump Starscream to 3.0.6
This solves the issue:
https://github.com/socketio/socket.io-client-swift/issues/1105
2018-11-28 23:38:13 +02:00
Dmitry Preobrazhenskiy
94b01420af Update to Swift 4.2
This solves the issue:
https://github.com/socketio/socket.io-client-swift/issues/1101
2018-11-28 23:37:27 +02:00
Erik Little
ec86a19fc6
Merge pull request #1119 from vonox7/completion-handler-nil
Don’t create empty closures when we don’t need them
2018-11-07 09:38:22 -05:00
Valentin Slawicek
e0cbe59a10 Remove unnecessary function calls. 2018-11-07 13:53:25 +01:00
Valentin Slawicek
8f94c038d8 Fix build 2018-11-07 12:47:55 +01: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
Erik Little
9708019adc
Merge pull request #1112 from vonox7/http-header-callback-rebased
Propagate http header callback from websocket back to client (rebased)
2018-10-18 10:57:00 -04:00
Valentin Slawicek
5a6a4f02d9 Propagate http header callback from websocket back to client. 2018-10-17 21:38:19 +02:00
Erik Little
75057023cb
clean up emit completion code 2018-10-17 09:55:11 -04:00
Erik Little
d839a35340
update cartfile too 2018-10-17 06:57:59 -04:00
Erik Little
d5a478f64a
update deps: Fix #1105 2018-10-17 06:56:30 -04:00
Erik Little
e5f3fb13ae
Merge pull request #1097 from cobrowseio/writecompletion
Add optional write completion handler for emit's
2018-10-04 06:56:18 -04:00
Erik Little
0d8890defd
update xcode settings 2018-10-04 06:55:05 -04:00
Erik Little
016e12720d
Merge branch 'development'
* development:
  update changelog and bump pod version
  check for 200 status code when polling #857
  update xcode versino
  set the right URL in websocket creation
  fix cookies import when create the websocket
  Be sure to keep secure config even if config is changed. Fix #1078
  Don't need to write DispatchTime
  use while let instead of while and if let
v13.3.1
2018-10-04 05:56:16 -04:00
Erik Little
d25a926226
update changelog and bump pod version 2018-10-04 05:55:44 -04:00
Andy
09fc43349f convert SocketData to serialisable socket representation 2018-10-02 21:08:55 +07:00
Andy
b3e305fd14 Add a variadic method for emit completion handlers in swift 2018-10-02 20:55:38 +07:00
Andy
d763fad449 no need to capture completion hander in wrapper 2018-10-02 19:05:22 +07:00
Erik Little
e877bb26c3
check for 200 status code when polling #857 2018-10-02 07:53:36 -04:00
Andy
28fad62ccd wrap completion handler to run on handleQueue 2018-10-02 13:47:03 +07:00
Andy
f9d8595a25 add optional write completion handler for emit's 2018-09-29 16:29:58 +07:00
Erik Little
3bf28cd427
Merge pull request #1080 from flashbreak/master
fix cookies import when create the websocket
2018-09-27 08:33:13 -04:00
Erik Little
c3032579c0
update xcode versino 2018-09-18 11:00:18 -04:00
Hugo Schouman
867db19bc5 set the right URL in websocket creation 2018-09-05 19:26:35 +02:00
Hugo Schouman
cfa6a217be fix cookies import when create the websocket 2018-09-03 15:51:20 +02: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
25df8b66fc
Don't need to write DispatchTime 2018-08-29 10:25:09 -04:00
Erik Little
d632135289
use while let instead of while and if let 2018-08-28 10:46:52 -04:00
Erik Little
a3d443268a
bump version v13.3.0 2018-07-29 10:34:17 -04:00
Erik Little
d03e319e35
Merge pull request #1059 from socketio/development
v13.3.0
2018-07-29 10:30:14 -04:00
Erik Little
165ec25713
Add isBinary property to SocketPacket.PacketType 2018-07-29 10:23:41 -04:00
Erik Little
35c93ee6f5
Merge branch 'master' into development
* master:
  Update 12to13.md
2018-07-27 08:43:32 -04:00
Erik Little
cc90426d94
Merge pull request #1061 from hawflakes/patch-1
Update 12to13.md
2018-07-27 08:43:13 -04:00
Erik Little
6db5348daa
use AnyObject over class in protocols 2018-07-27 08:42:30 -04:00
Erik Little
9bf073156f
fix tab issue 2018-07-21 10:39:27 -04:00
山楂片
8f50375cf2
Update 12to13.md
remove extra 'the'
2018-07-20 01:19:34 -07:00
Erik Little
451f4c1b69
Merge branch 'master' into development
* master:
  bump version
2018-07-18 12:16:08 -04:00
Erik Little
95aa544275
Merge pull request #1058 from OneSman7/support-cookies-for-web-socket
Added passing cookies from long polling session to web scoket
2018-07-18 10:47:50 -04:00
Erasov Ivan
eab73c81a7 Fixed a typo 2018-07-18 17:01:50 +03:00
Erasov Ivan
cfc01ac9fc Code style fixes 2018-07-18 16:59:34 +03:00
Erasov Ivan
64d2527190 Added passing cookies from long polling session to web scoket 2018-07-18 15:23:10 +03:00
Peter Dupris
b48f1e9af5 expose Starscream WebSocket enableSOCKSProxy option to socket.io-client-swift options 2018-06-27 19:35:52 -07:00