131 Commits

Author SHA1 Message Date
Erik Little
173def3cea
Remove travis 2022-07-12 14:55:55 -04:00
Erik Little
2b1cd74f6a
Take weak reference to self in OnAckCallback 2022-07-12 14:34:38 -04:00
Wyatt Mufson
9609774b3a Fix swift warnings 2021-06-17 11:38:43 -04:00
Erik Little
2c78e36ebd
handle version in keyValueToSocketIOClientOption 2021-02-16 09:37:05 -05:00
Erasov Ivan
ef6b63c82f Updated methods signature 2021-02-09 00:13:42 +03:00
Erasov Ivan
c015012783 Added client emit methods with array parameters 2021-02-05 19:14:54 +03:00
Erik Little
8b1149255d
Regenerate docs 2021-01-27 13:57:46 -05:00
Erik Little
2913751beb
update docs, remove other prints 2021-01-27 13:40:07 -05:00
Erik Little
1c2af5a60f
remove print 2021-01-27 13:24:42 -05:00
Erik Little
fde88c10c5
Support both v2 and v3 2021-01-27 13:22:14 -05:00
Erik Little
21290f5752
Start working on migration guide 2020-11-07 19:19:06 -05:00
Erik Little
194642314e
update docs 2020-11-07 18:57:29 -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
c6a6d952e6
Better timeouts 2020-11-07 16:03:29 -05:00
Erik Little
6cd8f79e8b
Support socket.io 3 + starscream 4 2020-11-07 15:13:52 -05:00
Erik Little
a06af14dd9
Add some helpful operators 2019-11-25 14:34:11 -05:00
Erik Little
cb74f6ca55
Merge branch 'master' into development
* master:
  Updates test
  Adds missing character for url percent encoding
2019-10-17 06:06:26 -04:00
Marin Huljev
ae54ea01d0 Adds missing character for url percent encoding 2019-10-14 22:06:31 +02:00
Serhii Alpieiev
1db9232d71 Fixed endless reconnection loop 2019-09-07 18:07:19 +03:00
Erik Little
5dcfe18748
bump version and docs 2019-05-28 09:09:24 -04:00
Erik Little
c1744e9e6f
Merge pull request #1049 from pdupris/enableSOCKSProxy
Add enableSOCKSProxy option to pass to Starscream WebSockets
2019-05-28 08:50:11 -04:00
Erik Little
44682659b6
fix #1178 2019-03-28 07:11:35 -04:00
Erik Little
7219906306
swift 5 2019-03-26 12:20:34 -04:00
Andy
fc4e1802f6 call closeOutEngine to clean up after a ping timeout 2019-02-11 19:01:43 +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
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
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
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
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
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
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
9bf073156f
fix tab issue 2018-07-21 10:39:27 -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