Commit Graph

156 Commits

Author SHA1 Message Date
Erik e1865e3f94 rename file 2016-04-16 10:43:20 -04:00
Erik 3073130598 change to how server gives id 2016-04-11 18:51:22 -04:00
Erik ed3d49001f bump websocket version 2016-04-10 13:59:21 -04:00
Erik 4ee196c5fb add default value to namespace in socketparsable 2016-04-04 11:28:20 -04:00
Erik baca9fc8da small refactors 2016-03-31 21:31:24 -04:00
Erik d4c01183ab style 2016-03-25 09:48:04 -04:00
Erik a0167ae213 remove deprecated methods 2016-03-23 13:39:22 -04:00
Erik 4f5837afa7 don't need objc on this method anymore 2016-03-22 10:15:09 -04:00
Erik 718caba9d9 remove nstimer 2016-03-22 09:56:56 -04:00
Erik 6c6b4f32c9 Update for swift 2.2 2016-03-22 09:00:27 -04:00
Erik 3a842469ec fix log placement 2016-03-16 13:13:22 -04:00
Erik 596a499041 work on fixing reconnect() 2016-03-11 13:41:09 -05:00
Erik 76a572e735 refactor reconnect 2016-03-11 13:03:40 -05:00
Erik 6da9463c8d whitespace 2016-03-03 10:11:08 -05:00
Erik 2f7a5405b0 add check for fast upgrade 2016-03-03 09:59:33 -05:00
Erik 62131ef904 make sure we don't handle poll messages if we aren't polling 2016-03-03 09:57:39 -05:00
Erik 5976ef1752 bump websocket version 2016-02-27 19:43:21 -05:00
jtjacka 1e96d7982d fix timeoutAfter handler always close connection 2016-02-25 16:06:08 -08:00
Erik 2f4c942dcf use connect/disconnect for engine 2016-02-23 10:33:14 -05:00
Erik 70283acc1f add messages to deprecated methods 2016-02-17 14:27:48 -05:00
Erik e16914f7d6 remove unused param 2016-02-17 14:15:15 -05:00
Erik c795f9fb25 refactor socketpacket 2016-02-17 14:09:05 -05:00
Erik 12f9207d8a rename waitingData to waitingPackets 2016-02-16 17:03:00 -05:00
Erik 70d59ea9d4 fix quotes in strings 2016-02-16 14:21:10 -05:00
Erik fe9ee602e7 add option for toggling double encoding utf8 2016-02-15 10:43:21 -05:00
Erik 6fa5ce9168 don't call connect timeout if status is closed 2016-02-14 20:16:01 -05:00
Erik 43b2d4646f bump websocket version 2016-02-12 08:45:44 -05:00
Erik 0f70079382 fix possible race condition 2016-02-11 09:36:36 -05:00
Erik 3e8ca90e3a don't fatalerror 2016-02-05 13:09:26 -05:00
Erik 2a25027077 change to weak self 2016-02-04 15:59:39 -05:00
Erik 76ef3596f0 possible fix for socketio/socket.io-client-swift#279 2016-02-01 21:56:49 -05:00
Erik 8e208b1c66 bump websocket version again 2016-01-29 16:57:50 -05:00
Erik cf651b8a00 Don't add newlines to base64 encoded stuff. Fixes nuclearace/Socket.IO-Client-Swft#105 2016-01-29 16:53:19 -05:00
Erik 8d22de967e bump websocket version 2016-01-28 09:09:29 -05:00
Erik c92e146dfc small tweaks 2016-01-27 16:00:36 -05:00
Erik d71f81745e move websocketurl plus sid to computed property 2016-01-26 14:17:11 -05:00
Erik c5c00510e5 remove unused property 2016-01-26 11:03:32 -05:00
Erik e38c4081ec comments and style 2016-01-26 10:51:53 -05:00
Erik 5060f90a79 we need to update the urls if connectparams changes 2016-01-25 19:13:17 -05:00
Erik 57670ec613 move connectparams to the engine 2016-01-25 19:02:47 -05:00
Erik 3f57c7e0a9 add default urls 2016-01-25 18:48:21 -05:00
Erik f9c665a542 for whatever reason I was able trigger a race condition because of the last commit 2016-01-25 17:23:57 -05:00
Erik b67b6abbdf engine polling to nsurl 2016-01-25 16:21:52 -05:00
Erik d912796fa5 engine websocket url to nsurl 2016-01-25 15:52:54 -05:00
Erik c9ac69f408 first pass at socketio/socket.io-client-swift#288 2016-01-25 14:55:58 -05:00
Erik cc7d96e3d5 remove trailing / from urls 2016-01-25 10:46:03 -05:00
Erik bf1104443a make engine send internal 2016-01-24 11:31:04 -05:00
Erik adf8692234 change log message 2016-01-22 18:16:30 -05:00
Erik 4eca685dc2 fix nuclearace/Socket.IO-Client-Swift#103 2016-01-21 10:04:55 -05:00
Erik 90f512e03b remove disconnect 2016-01-20 14:41:12 -05:00
Erik e45003210f revert to unbroken websocket version 2016-01-20 14:38:13 -05:00
Erik 0d6e4af62f fix websocket bug 2016-01-18 15:54:28 -05:00
Erik bcb556b66c bump websocket 2016-01-18 10:03:16 -05:00
Erik ec2aa703a3 Send close reason to engine 2016-01-17 10:30:34 -05:00
Erik c211ab140d We're always connecting anyway 2016-01-17 10:29:10 -05:00
Erik 5cab7dbb2f changes to swiftregex 2016-01-17 10:10:36 -05:00
Erik 0fc70e8be1 deprecate open() 2016-01-17 09:50:03 -05:00
Erik 03d5f56114 merge master 2016-01-17 08:48:34 -05:00
Erik 88b1eb1948 going to remove close() 2016-01-16 19:51:21 -05:00
Erik 67f47ad6fe tweak logging 2016-01-16 17:37:17 -05:00
Erik d6c521123b refactor closing engine 2016-01-16 17:23:07 -05:00
Erik 024384dc82 change close method of engine 2016-01-16 16:40:50 -05:00
Erik ec67056d2a change method signature 2016-01-16 16:38:10 -05:00
Erik 15cfba46bc refactor didError 2016-01-16 15:16:18 -05:00
Erik dbc8b6fadc refactor engine erroring 2016-01-16 15:04:03 -05:00
Erik e06a792503 add some comments 2016-01-15 19:12:07 -05:00
Erik b202b21d43 remove comment 2016-01-15 17:35:20 -05:00
Erik 443f5c5b22 move declaration of postWait 2016-01-15 14:21:59 -05:00
Erik 3979b36f63 more refactoring 2016-01-15 14:15:50 -05:00
Erik ac460d8023 newline 2016-01-15 13:31:01 -05:00
Erik 731c8a851b first pass at refactoring engine 2016-01-15 13:17:13 -05:00
Erik a299901fa8 why I didn't use contains first idk 2016-01-15 10:05:44 -05:00
Erik 660aed8359 small tweaks 2016-01-15 09:56:53 -05:00
leo0307vb 3c9070b3e7 fix engineDidOpen implementation 2016-01-14 17:57:58 -05:00
Erik de3ca964ab work on standardizing module name 2016-01-14 16:01:46 -05:00
leo0307vb 19c68416bb add new method engineDidOpen in socketEngineClient protocol 2016-01-14 14:44:32 -05:00
Erik ca67625ed3 remove redundancies 2016-01-03 14:14:42 -05:00
Erik fe02b8eff2 change socketparser into a protocol 2016-01-03 13:11:18 -05:00
Erik 0c8ff90537 change pattern matching syntax 2016-01-03 12:00:37 -05:00
Erik 5068986a50 fix socketio/socket.io-client-swift#233 2016-01-03 11:56:16 -05:00
Erik 4ed4681cc4 change visibility of connectParams 2016-01-03 11:11:58 -05:00
Erik 361cd8fc3b change some methods to use nsurlrequest 2016-01-03 10:12:02 -05:00
Erik 2916ed0f7b cache method isn't implemented 2016-01-03 10:10:41 -05:00
Erik cfa98ea42b remove ++ 2016-01-03 09:55:10 -05:00
Erik 8584b90d3c simplify namespace api 2016-01-02 17:38:19 -05:00
Erik 7acce7d18e small tweaks 2015-12-30 20:14:31 -05:00
Erik 0ebe56d780 remove anonymous function and use named function 2015-12-26 17:22:03 -05:00
Erik 3d8867136d comment some socketpacket methods 2015-12-26 13:38:59 -05:00
Erik bed5ecd23b more pattern matching 2015-12-26 13:18:07 -05:00
Erik 4e5fcff258 use pattern matching 2015-12-26 13:09:24 -05:00
Erik aeb52de72f don't need to keep count manually 2015-12-25 11:28:08 -05:00
Erik ca90938675 refactor socketpacket 2015-12-25 11:24:03 -05:00
Erik 931382deff refactors 2015-12-25 10:02:09 -05:00
Erik 298817ce5c refactor 2015-12-23 14:00:06 -05:00
Erik 97d4f3f527 fix encoding of postWait messages sent over websocket 2015-12-20 15:36:42 -05:00
Erik d94a1901ca refactor. Remove var from methods and pattern matching 2015-12-20 15:01:28 -05:00
Erik fff2f29c55 remove extra stuff 2015-12-12 13:36:43 -05:00
Erik 57d1f3c4b4 bump websockets 2015-12-12 13:35:28 -05:00
Erik 238d3cb338 add option for selfSigned 2015-12-08 20:15:54 -05:00
Erik 275c873880 remove mutable parameter 2015-12-07 15:09:07 -05:00