118 Commits

Author SHA1 Message Date
Shane Cowherd
d3aaaec9bb Updated Project Swift variable to 4.0
Fixed handleOpen(openData) bug that was not covered in the unit tests.
2018-01-08 11:22:09 -07:00
Shane Cowherd
46d982d4df Migrated the Socket.IO 1.X build to Swift 4 2018-01-05 08:29:49 -07:00
Erik
1ff8e11a1f
Document SocketIOClientSwift
add docs

Start documenting engine

More engine documentation

Document engine

document SocketEngineClient

Document SocketEnginePollable and SocketEnginePacketType

Document SocketEngineWebsocket

Document SocketIOClient

Document SocketIOClientStatus

Document SocketLogger

Document some typealiases

Document SocketIOClientOption

Document SocketIOClientConfiguration
2017-05-06 14:41:50 -04:00
Erik
ed049e888d
Make engine single queued
Fix polling

allow building of refactor branch

remove self reference

Some refactoring
2017-05-05 22:07:12 -04:00
Erik
e5eec3e97f
Fix #657 2017-05-03 22:21:33 -04:00
Erik Little
1669f2c28f Merge pull request #651 from musicabbage/development
remove engine’s listener before assign new instance
2017-04-14 07:40:34 -04:00
musicabbage
907b1b3ae2 Removed if-statement for review notes
https://github.com/socketio/socket.io-client-swift/pull/651#pullrequestreview-32616528
2017-04-14 14:57:46 +08:00
musicabbage
e29c9043b2 remove engine’s listener before assign new instance 2017-04-13 12:08:38 +08:00
Erik
d3c1d0cd04
Revert "double encoding should be getting fixed, make the default false"
This reverts commit 0fcb7903bb1ad6d1bb19fbf8567a2f63e5c78390.
2017-03-30 18:52:42 -04:00
Erik
0fcb7903bb
double encoding should be getting fixed, make the default false 2017-01-23 16:48:37 -05:00
Vladislav Khorev
f943f41895 Update SocketEngine.swift
Fix issue #101
Place code in handleOpen, according to suggestion:
https://github.com/socketio/socket.io-client-swift/pull/602#issuecomment-269233001
2016-12-30 19:49:48 +03:00
Vladislav Khorev
494f3fa199 Update SocketEngine.swift
Fix issue #101
https://github.com/socketio/socket.io-client-swift/issues/101
2016-12-26 12:40:14 +03:00
Erik
b33e73f119
bump websocket 2016-09-19 19:00:52 -04:00
Erik
549df19d4a
Fix adding / to path 2016-09-19 18:52:13 -04:00
Erik
72b6565510
refactors 2016-09-10 10:12:37 -04:00
Erik
31adcd4728
clean up some things before xcode8 release 2016-09-10 09:17:50 -04:00
Erik Little
a55e9ab3ba
Merge branch 'development' into swift3
* development:
  Don't parse twice for errors
  use guarded try
  change spm name
  Modify mac version base mac os 10.9
2016-09-08 07:30:28 -04:00
Kevin Cassidy Jr
d808d8f157 Fix truncation of binary data, use range operator for clarity 2016-09-07 20:19:55 -07:00
Erik
49dfd7432c
use guarded try 2016-09-02 17:57:26 -04:00
Erik
c7d75b6b83
refactor 2016-08-31 19:58:40 -04:00
Erik
f5cf2b8de5
Fix swift3 errors that happened during merge 2016-08-31 18:19:24 -04:00
Erik
bd192b9af5
merge development 2016-08-31 18:13:31 -04:00
Erik
cf12865aa0
fix sid bug 2016-08-29 05:10:03 -04:00
Erik
bd7f94333d
Refactor engine. Fix infinite recursion in configuration 2016-08-27 13:05:22 -04:00
David Beck
536367392f Switch to using Any instead of AnyObject
In Swift 3 AnyObject is rarely what you want to use. Objective-C API gets imported as Any and while types like Array and Dictionary can be coerced to AnyObject, they prefer Any, which doesn’t require a manual cast.
2016-08-23 10:10:33 -07:00
Erik
3bf7a09f98
Swift 3 beta6. Doesn't work, something in websocket.swift is segfaulting the compiler 2016-08-15 18:52:25 -04:00
Erik
07f2ca5f16
rename engine init 2016-08-14 11:06:55 -04:00
Erik
b8d6c28ae4
merge development 2016-08-14 10:51:44 -04:00
Erik
e2bf84f576
Add SocketIOClientConfiguration 2016-08-13 14:55:33 -04:00
Erik
ddd7003d89
merge development 2016-08-11 22:08:48 -04:00
Erik
b6cb0b2c7b
bump websocket version 2016-08-08 18:24:42 -04:00
Erik
ee63c4e386
refactor out checking for base64 2016-08-02 20:14:04 -04:00
Erik
61a20cf27e
update for beta 4 2016-08-02 19:38:08 -04:00
Erik
a5db13c8b5
merge development 2016-07-29 20:06:43 -04:00
Erik
d03d77aff8
add check for bad paths 2016-07-28 21:36:37 -04:00
Erik
637e0bb14c
Fix socketpollable crashing 2016-07-27 21:16:48 -04:00
Adam Putinski
777fa30c76 Fix Xcode 8 Beta 3 issues/warnings 2016-07-19 23:01:59 -04:00
Erik
f140d7979e
change method name 2016-07-16 21:27:18 -04:00
Erik
36aa57e89c beta2 2016-07-06 11:47:25 -04:00
Erik
17d3e659c1 refactor some serialization into methods 2016-07-01 15:36:06 -04:00
Erik
c129118496 merge development 2016-06-24 02:53:31 -04:00
Erik
2e5442d386 unknown message isn't fatal 2016-06-24 02:35:18 -04:00
Erik
4383ddfe65 notify client when engine disconnects 2016-06-24 02:21:25 -04:00
Erik
7c3de9f30a even more xcode 8 stuff. style changes 2016-06-15 10:13:44 -04:00
Erik
2adcf2d35d more xcode 8 stuff 2016-06-15 09:32:47 -04:00
Erik
9a4ec5a82a xcode 8 2016-06-14 20:41:59 -04:00
Erik
7500ea83a0 merge development 2016-06-14 19:51:56 -04:00
Erik
6fd3294fba Revert "swift 2.3"
This reverts commit bfa163f3c2e85776d8bcf0c24eca65b7398f403d.
2016-06-14 19:41:18 -04:00
Erik
bfa163f3c2 swift 2.3 2016-06-14 19:37:27 -04:00
Erik
e163598ee6 add option for sslsecurity 2016-06-14 16:11:37 -04:00