Commit Graph

124 Commits

Author SHA1 Message Date
Erik 14bf64233b add example for onAny 2015-03-06 18:38:12 -05:00
Erik ae28a02163 Use a ephemeral NSURLSession for polling, because NSURLConnection.sendAsnc.. seems to either leak memory, or cache 2015-03-06 18:24:06 -05:00
Erik 41c168a29a Fixes. Add onAny method 2015-03-06 16:29:13 -05:00
Erik 44bff82a43 better reconnects 2015-03-06 12:13:00 -05:00
Erik 851ac7635a Fix connection issues, binary data in nested data structures, some race conditions, reconnect needs to be redone 2015-03-05 22:06:17 -05:00
Erik 166b2b515b make sure we're polling 2015-03-05 15:19:17 -05:00
Erik 59a5e1928c clean up 2015-03-05 15:16:34 -05:00
Erik d35934c79d handle binary data better 2015-03-05 14:37:00 -05:00
Erik c85a1def87 tell client about failed ws 2015-03-05 13:45:25 -05:00
Erik 5ed2688c9e better handle when the server closes the connection (polling) 2015-03-05 12:55:09 -05:00
Erik 296802fddb better handle closes 2015-03-05 11:06:11 -05:00
Erik 829992fcef send disconnect on polling close 2015-03-04 23:39:11 -05:00
Erik 5d545f9937 Merge branch 'polling' of https://github.com/nuclearace/Socket.IO-Client-Swift into polling 2015-03-04 23:19:39 -05:00
Erik a1e3232db0 update README.md 2015-03-04 23:19:21 -05:00
Erik 8312d28196 update READEME.md 2015-03-04 23:16:09 -05:00
Erik 543a3c8f91 add toggle for polling only 2015-03-04 23:15:11 -05:00
Erik 1a63088a5e readme 2015-03-04 23:02:32 -05:00
Erik 68a0f8d9ac gotta go fast 2015-03-04 22:53:57 -05:00
Erik 63aed1ce91 tweaks 2015-03-04 21:50:23 -05:00
Erik 1f1ba60574 fix namespaces 2015-03-04 21:20:52 -05:00
Erik b295561dcc non-namespace polling seems to work, needs more testing 2015-03-04 20:22:39 -05:00
Erik 346edc7b53 Better handle moving between polling and websockets. Sending binary on polling still bork 2015-03-04 19:52:20 -05:00
Erik 95d50ec8d3 remove old method 2015-03-04 18:04:45 -05:00
Erik 4925c00c12 work on xhr polling sending 2015-03-04 18:02:42 -05:00
Erik 2205cfb7d9 fix EXE_BAD_ACCESS when compiling with -O with swift 1.1 2015-03-04 15:52:18 -05:00
Erik 2e80b9405d Fixes. Sending doesn't work on polling, namespaces broken 2015-03-04 15:13:41 -05:00
Erik 3088bd88e6 handle binary 2015-03-04 14:06:20 -05:00
Erik 574e9d5f7e start work on parsing polling messages 2015-03-04 13:27:55 -05:00
Erik 7f22dc8f42 send connect event on polling connect 2015-03-04 10:04:26 -05:00
Erik 6e4aa4eee4 work on polling heartbeat 2015-03-04 09:12:51 -05:00
Erik 16fd043632 fix reconnect 2015-03-03 22:39:37 -05:00
Erik 7e0549611f move more things to socketengine. reconnecting broken 2015-03-03 22:13:28 -05:00
Erik 5cc42be709 start moving websocket stuff to socketengine 2015-03-03 21:38:11 -05:00
Erik 8bebc3c159 start work on adding polling 2015-03-03 20:53:57 -05:00
Erik 761623a0f8 fix emit with no args 2015-03-02 13:59:22 -05:00
Erik Little 3d7540d593 I was being stupid again 2015-02-24 18:35:59 -05:00
Erik Little b4c61f4b47 Remove ackhandlers 2015-02-24 18:13:57 -05:00
Erik Little 0c63e6a134 Update README.md 2015-02-24 15:17:19 -05:00
Erik Little 6d5706c126 send disconnect packet 2015-02-24 13:26:30 -05:00
Erik 1bc761ac8d #15 add connectWithParams 2015-02-24 12:51:27 -05:00
Erik Little 63cf32f30e Why did I do that 2015-02-23 17:22:43 -05:00
Erik Little 913c25eda1 Remove println 2015-02-23 15:13:11 -05:00
Erik a1296fa439 Merge branch 'master' of https://github.com/nuclearace/Socket.IO-Client-Swift 2015-02-23 14:55:43 -05:00
Erik 2da5c3c9b3 API CHANGE. remove .onMultipleItems, .on now acts like .onMultipleItems; ack'ing is now done with a function passed into an event handler function. See example 2015-02-23 14:55:25 -05:00
Erik Little a1a5b054ca Update README.md 2015-02-23 09:32:59 -05:00
Erik 082c00dbb1 backport new stuff from 1.2 branch. Adds acks 2015-02-19 22:52:22 -05:00
Erik Little 6e8a32361c Update README.md 2015-02-19 11:21:54 -05:00
Erik Little 3333e3e6d9 Update README.md 2015-02-12 11:14:38 -05:00
Erik 080910fe4e fix 2015-02-08 11:31:32 -05:00
Erik 17c65ed3d5 Merge branch 'master' of https://github.com/nuclearace/Socket.IO-Client-Swift 2015-02-06 14:41:36 -05:00