122 Commits

Author SHA1 Message Date
Erik
543a3c8f91 add toggle for polling only 2015-03-04 23:15:11 -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
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
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
082c00dbb1 backport new stuff from 1.2 branch. Adds acks 2015-02-19 22:52:22 -05:00
Erik
080910fe4e fix 2015-02-08 11:31:32 -05:00
Erik
513c6bfa7c tweaks 2015-02-06 14:41:29 -05:00
Erik
747a244435 add namespace support, needs further testing 2015-02-04 16:13:57 -05:00
Erik
40c70925cc fix 2015-02-03 12:49:35 -05:00
Erik
56f6c5ce3b Fix #7 2015-02-03 12:26:44 -05:00
Erik
c3713fd018 fix arrays 2015-02-03 11:26:41 -05:00
Erik
115edb1456 Tweak multipleitems. I still don't know if I like this 2015-02-03 11:21:03 -05:00
Erik
8ff8c88a48 #6 2015-02-03 10:05:47 -05:00
Erik
232c22789a #5. Also fix events that have no items 2015-01-31 13:09:30 -05:00
Erik
368a9c8af3 API Change: rename methods, add typealias. Update README 2015-01-31 10:10:26 -05:00
Erik
4b5d06f39a add support for receiving nested binary 2015-01-29 10:29:45 -05:00
Erik
7b5c1f14d4 remove redundant nil check 2015-01-28 23:17:39 -05:00
Erik
c4a1391b70 rename variables. tweaks 2015-01-28 22:21:51 -05:00
Erik
0b84ec6ac9 Add support for sending nested binary. TODO: add support for recieving nested binary 2015-01-28 19:32:06 -05:00
Erik
b5f747da11 Change API: no longer have an external name for emit 2015-01-28 12:56:20 -05:00
Erik
fa59915b05 tweaks 2015-01-27 10:10:50 -05:00
Erik
9b6b5f3565 remove old files from git 2015-01-20 13:18:12 -05:00
Erik
d4a891ba51 rename classes to be more unique 2015-01-20 13:17:26 -05:00
Erik
e906c43cb8 Don't even need this anymore 2015-01-19 22:12:21 -05:00
Erik
a5db559bed #2. Add support for messages that have multiple items. Add support for sending messages with multiple messages 2015-01-19 19:33:16 -05:00
Erik
2298cb2a1a I don't see a reason why handler should be optional 2015-01-19 10:24:49 -05:00
Erik
bb0984835e Move event and eventhandler classes to specific files 2015-01-18 15:59:13 -05:00
Erik
b455370466 Change how recieved data is handled 2015-01-18 13:58:35 -05:00