63 Commits
Author SHA1 Message Date
Erik LittleandGitHub 71a627c099 Merge pull request #1375 from emersonsoftware/fix_reconnect_issue
Handling reconnect scenarios properly when socket is hung
2023-11-13 15:40:16 -05:00
George Navarro 45cc6b9728 Added a useCustomEngine option to control if WebSocket is initialized to use the custom engine or native URLSession web tasks. 2022-07-25 18:13:20 -07:00
Mark Schisler ec4378ca49 Handling reconnect scenarios properly when socket is hung 2021-08-19 09:45:54 -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 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 LittleandGitHub 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 7219906306 swift 5 2019-03-26 12:20:34 -04: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
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 6db5348daa use AnyObject over class in protocols 2018-07-27 08:42:30 -04:00
Peter Dupris b48f1e9af5 expose Starscream WebSocket enableSOCKSProxy option to socket.io-client-swift options 2018-06-27 19:35:52 -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 c3cabe43bf Make it clear that handleQueue should be serial 2018-05-10 07:29:39 -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 1b6144a78c change access level to public for raw view 2018-03-30 14:39:31 -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 943e94ed0e Fix some documentation marks 2017-11-14 08:18:07 -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