111 Commits

Author SHA1 Message Date
Erik
c99f9a6b97 make sure wait is positive 2015-10-18 16:33:31 -04:00
Erik
b9e05286a2 even more type safe solution, idea from @lightsprint09 2015-10-18 14:52:46 -04:00
Erik
a5db43b834 add comments 2015-10-17 14:58:47 -04:00
Erik
40ac53844d mess around with a more type safe way to set options 2015-10-17 14:49:41 -04:00
Erik
32e1f55394 work on side effect tests 2015-10-11 13:11:18 -04:00
Erik
84499d4c21 start working on tests 2015-10-07 12:01:55 -04:00
Erik
bfe54f8df7 start work on seperating socket client and engine so they can be tested 2015-10-07 11:16:35 -04:00
Erik
b65dfec6b0 tweak to connect timeout 2015-10-01 15:25:17 -04:00
Erik
877db516c2 fix socketio/socket.io-client-swift#197 2015-10-01 09:53:20 -04:00
Erik
ccc3745bb8 fix for socketio/socket.io-client-swift#196 2015-09-30 18:38:39 -04:00
Erik
9241bf869f fix another crash case 2015-09-28 20:52:03 -04:00
Erik
6ed90a3e60 clean up once 2015-09-18 12:45:35 -04:00
Erik
d2d9c49414 no need to force unwrap 2015-09-18 12:41:27 -04:00
Erik
a56227d08a merge master 2015-09-18 11:33:07 -04:00
Erik
0233bce881 tweaks to closing 2015-09-18 09:27:14 -04:00
Erik
9a05f6043b tweaks to once 2015-09-17 23:52:23 -04:00
Kevin Jose Martin
a9b4193fe4 Fix "Variable 'handler' captured by a closure before being initialized" error 2015-09-17 22:06:12 -04:00
Kevin Jose Martin
aaaf9dc451 Filter against SocketEventHandler#id 2015-09-17 21:49:18 -04:00
Kevin Jose Martin
f5c3a2cac9 Add strict equality and execute "callback" as non-optional 2015-09-17 21:08:37 -04:00
Kevin Jose Martin
7d26bd3ee8 Fix type declarations 2015-09-17 21:00:56 -04:00
Kevin Jose Martin
136847fd77 Fix "Variable used within its own initial value" error 2015-09-17 20:41:34 -04:00
Kevin Jose Martin
9b3f84dcd0 Remove type declarations 2015-09-17 20:33:36 -04:00
Kevin Jose Martin
a72f96759e Adds SocketIOClient#once(event, callback)
When the specified event is emitted, the handler deregisters itself.
2015-09-17 18:19:49 -04:00
Erik
ba5638a109 Revert "tweak to objective-c api"
This reverts commit d0a57ca353268d4473b82d03c3f5b18a875467f4.
2015-09-17 09:09:02 -04:00
Erik
67afbcbd56 mess around with api 2015-09-16 12:46:19 -04:00
Erik
d0a57ca353 tweak to objective-c api 2015-09-16 11:16:12 -04:00
Erik
f818d64405 fix socketio/socket.io-client-swift#177 2015-09-14 15:40:13 -04:00
NachoSoto
c6997f32dd Fixed indentation 2015-09-11 05:52:17 +00:00
NachoSoto
b8cfdc8fd2 SocketIOClient: simplified conditional 2015-09-11 05:33:40 +00:00
NachoSoto
a43548e203 SocketIOClient: remove unnecessary optional 2015-09-11 05:33:01 +00:00
NachoSoto
2bc72e1975 SocketIOClient: removed unnecessary weak self 2015-09-11 05:31:41 +00:00
NachoSoto
1739afa670 SocketIOClient: added assertion to check timeoutAfter is not negative 2015-09-11 05:28:28 +00:00
NachoSoto
40d76cdbeb SocketIOClient: making a few fields private 2015-09-11 05:26:56 +00:00
Erik
ac023013d4 change logging 2015-09-04 09:41:40 -04:00
Lukas Schmidt
4de0652568 improve logger api 2015-09-04 13:48:19 +02:00
Erik
8d0af14f04 add ability to specify custom logger 2015-09-03 15:10:18 -04:00
Erik
5a73a5e6da style 2015-08-28 13:42:04 -04:00
Erik
4fdb49ea2f use static variable for log 2015-08-18 10:19:58 -04:00
Erik
58097fa39e leave it up to the engineclient how to handle messages 2015-08-18 10:05:51 -04:00
Erik
4c9d6ef3de refactor socketpacket 2015-08-17 14:47:14 -04:00
Erik
aa43107ad6 remove unused dispatch queue 2015-08-17 11:43:16 -04:00
Erik
09a26c0b1c remove all data on engine close 2015-08-17 00:04:13 -04:00
Erik
f752507a11 style 2015-08-14 22:08:33 -04:00
Erik
2cafec6f12 move enum, better description 2015-08-14 16:20:43 -04:00
Erik
7ebcd7439f refactor, fix reconnect bug, fix internalmessages 2015-08-13 09:56:22 -04:00
Erik
5e92fc323d dammit 2015-08-11 10:05:35 -04:00
Erik
c2b927fd02 oops 2015-08-11 10:04:43 -04:00
Erik
4014286da2 style 2015-08-11 10:03:35 -04:00
Erik
884b73c777 clean up 2015-08-11 09:54:59 -04:00
Erik
848f7e5da7 clean up enums 2015-08-11 08:31:23 -04:00