Commit Graph
46 Commits
Author SHA1 Message Date
Erik Little fde88c10c5 Support both v2 and v3 2021-01-27 13:22:14 -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 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
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
Erik Little 75057023cb clean up emit completion code 2018-10-17 09:55:11 -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
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 0a7e1f4185 don't bind error when we're not pattern matching 2018-06-07 07:58:11 -04:00
Erik Little 6ff403fad1 remove some redundant connected checking 2018-04-02 11:36:20 -04:00
Erik Little b73afe0da9 get rid of internal emitAck method 2018-04-01 18:48:15 -04:00
Erik Little 24f3106fe7 Add raw view to ack emitter 2018-03-30 14:56:19 -04:00
Erik Little 948ea5fa00 rename SocketBinaryView 2018-03-30 14:37:15 -04:00
Erik Little d21a65e117 Add rawEmitView. Implements #992 2018-03-30 14:33:18 -04:00
Erik Little 4564aebec1 Add way to skip binary inspection.
Still a WIP. ACKs still don't have a way to bypass
2018-03-30 14:16:54 -04:00
Erik Little d811b194eb Fix exclusive access issue 2018-03-01 10:15:28 -05:00
Erik Little 9b10cab925 Execute acks sync. Implement #950 2018-02-11 17:16:15 -05:00
Henri Salminen 8df1a12412 Fixes build warnings caused by documentation issues. 2018-01-30 14:28:58 +02: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 5cfc97386a refactor SocketIOClient.handlePacket 2017-10-25 08:16:44 -04:00
Erik Little 535f1700bf nsp should be readonly now 2017-10-21 18:02:56 -04:00
Erik Little 5b52edd880 Add SocketManager for multiplexing namespaces 2017-10-21 17:17:29 -04:00
Erik Little 1ed87e571d Change sentPing/gotPong to ping/pong since those are already reserved 2017-10-14 10:28:14 -04:00
Erik Little c03fc96f04 Add ability to track ping/pongs 2017-10-14 10:15:36 -04:00
Erik Little 7b04309990 remove some code duplication 2017-10-14 09:43:27 -04:00
Erik Little f9360fc94f Add note about queue type 2017-10-11 08:28:12 -04:00
Erik Little cd2454373a Treat transport open as joining the default namespace 2017-10-03 11:02:22 -04:00
Erik Little 5e69272ebc rename method 2017-10-01 10:08:00 -04:00
Erik Little 819735efbf Fix documentation 2017-09-30 13:48:35 -04:00
Erik Little 28cc8eef19 Don't set configs after connect 2017-09-30 13:32:44 -04:00
Erik Little 321bb186df Allow changing config after init but before connect. Fixes #680 2017-09-30 13:19:49 -04:00
Erik Little 91eea96308 Make a bunch of things public. Fixes #803 2017-09-30 11:33:39 -04:00
Erik Little 752407fb67 More documentation 2017-09-29 22:09:38 -04:00
Erik Little 2f92a69bb0 Add missing @objc 2017-09-19 20:07:12 -04:00
Erik cd3eb37ac8 Initial Swift4 work 2017-09-19 20:07:12 -04:00
Erik Little e9296fd65a Rework logging protocol to use autoclosure 2017-09-19 08:54:17 -04:00
Erik Little 3eb7edc37c Make log types static 2017-09-06 20:38:51 -04:00
Erik Little 4237ed0d92 Fix queue violation. #792 2017-09-04 11:53:18 -04:00
Erik Little 079c8e4e4c Rename directory to SocketIO 2017-08-17 23:10:30 -04:00