121 Commits

Author SHA1 Message Date
mathieurobidoux
38dea9bb3e Changed 'timeoutAfter' from Int to Double to allow more precise value 2017-06-25 13:13:32 -04:00
Erik
2e7183b8de
Change Void to () 2017-05-28 15:30:39 -04:00
Erik
30e4f59a16
Allow changing the socketURL post init Fixes #470 2017-05-28 15:24:43 -04:00
Erik
17bec21ad1
code style 2017-05-28 12:06:24 -04:00
Erik
d9559e7c59
Add note about queue safety 2017-05-27 12:18:10 -04:00
Erik
46a129072f
code style 2017-05-20 08:37:54 -04:00
Erik
dd2167a09f
Report errors in SocketData to users. Resolves #677 2017-05-07 14:40:39 -04:00
Erik
8e25c6c417
Fixes #676 2017-05-07 14:01:31 -04:00
Erik
8d16a8312d
fix method name in docs 2017-05-07 12:39:54 -04:00
Erik
158bdfb418
Add enum for client events. Resolves #675 2017-05-07 11:32:05 -04:00
Erik
1eb39d650a
Add client event for status changes. Closes #668 2017-05-07 10:52:17 -04:00
Erik
af5e934d69
Implement #672 2017-05-06 16:02:04 -04: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
abdffb9a4f
Open client 2017-05-05 22:07:14 -04:00
Erik
84dd3078d8
Make client single queued
Shouldn't need to protoct ack generation now that client is single queued
2017-05-05 22:07:12 -04:00
Erik
7777c76dae
refactor protocol 2017-05-01 18:44:27 -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
Alexander Levin
fcb2b6bbf6 thread-safe ack generation 2017-02-23 09:32:50 +02:00
Erik
077de02345
remove namespace from socket id 2016-11-24 08:15:17 -05:00
Erik
a82f27ab8c
Fix #562 2016-11-11 15:52:36 -05:00
Erik
a32f2d34f0
Fix #521 2016-10-01 10:20:13 -04:00
Erik
b3da89d61c
remove redundant cast 2016-09-25 12:10:29 -04:00
Erik
6771f59ab7
Redo emitWithAck API since in Swift 3 parameter names aren't apart of the type 2016-09-25 11:59:10 -04:00
Erik
31adcd4728
clean up some things before xcode8 release 2016-09-10 09:17:50 -04:00
David Beck
bc929b7c26 Merge branch 'swift3' of github.com:socketio/socket.io-client-swift into swift3
# Conflicts:
#	Source/SocketTypes.swift
2016-09-07 14:21:10 -07:00
David Beck
ffcf5fbf92 Update for Xcode 8 GM 2016-09-07 14:19:53 -07: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
2200972f4d
Fix socketio/socket.io-client-swift#472 2016-08-28 08:29:00 -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
c364f6a832
tweaks 2016-08-14 09:58:21 -04:00
Erik
e2bf84f576
Add SocketIOClientConfiguration 2016-08-13 14:55:33 -04:00
Erik
64b9774c83
Move helper method 2016-08-13 13:32:14 -04:00
Erik
ddd7003d89
merge development 2016-08-11 22:08:48 -04:00
Erik
437c983533
Rename variable 2016-08-11 21:26:01 -04:00
Erik
14b4df3836
refactor some reconnect code 2016-08-11 21:11:28 -04:00
Erik
61a20cf27e
update for beta 4 2016-08-02 19:38:08 -04:00
Adam Putinski
777fa30c76 Fix Xcode 8 Beta 3 issues/warnings 2016-07-19 23:01:59 -04:00
Erik
e961e11487
change another method name 2016-07-16 22:27:50 -04:00
Erik
f3d771641d some swift3 changes 2016-07-14 19:54:09 -04:00
Erik
f6dc11650d merge development 2016-07-14 19:36:48 -04:00
Erik
dce28b2dac fixes 2016-07-14 19:26:56 -04:00
Erik
8345eae28c don't stall queues 2016-07-14 19:25:48 -04:00
Erik
e8219e6b6a merge development 2016-07-14 19:12:03 -04:00
Erik
9cc60ab63d hopefully fix race condition in acks 2016-07-14 18:57:27 -04:00
Erik
2a0ce72792 small swift 3 changes 2016-06-22 10:04:27 -04:00