102 Commits

Author SHA1 Message Date
Valentin Slawicek
e0cbe59a10 Remove unnecessary function calls. 2018-11-07 13:53:25 +01:00
Valentin Slawicek
8f94c038d8 Fix build 2018-11-07 12:47:55 +01:00
Valentin Slawicek
a4b334b6f2 Don’t create empty closures when we don’t need them.
Fixes https://github.com/socketio/socket.io-client-swift/issues/1118.
2018-11-07 12:37:48 +01:00
Valentin Slawicek
5a6a4f02d9 Propagate http header callback from websocket back to client. 2018-10-17 21:38:19 +02:00
Erik Little
75057023cb
clean up emit completion code 2018-10-17 09:55:11 -04:00
Erik Little
e5f3fb13ae
Merge pull request #1097 from cobrowseio/writecompletion
Add optional write completion handler for emit's
2018-10-04 06:56:18 -04:00
Andy
09fc43349f convert SocketData to serialisable socket representation 2018-10-02 21:08:55 +07:00
Andy
b3e305fd14 Add a variadic method for emit completion handlers in swift 2018-10-02 20:55:38 +07:00
Andy
d763fad449 no need to capture completion hander in wrapper 2018-10-02 19:05:22 +07:00
Erik Little
e877bb26c3
check for 200 status code when polling #857 2018-10-02 07:53:36 -04:00
Andy
28fad62ccd wrap completion handler to run on handleQueue 2018-10-02 13:47:03 +07:00
Andy
f9d8595a25 add optional write completion handler for emit's 2018-09-29 16:29:58 +07:00
Erik Little
3bf28cd427
Merge pull request #1080 from flashbreak/master
fix cookies import when create the websocket
2018-09-27 08:33:13 -04:00
Hugo Schouman
867db19bc5 set the right URL in websocket creation 2018-09-05 19:26:35 +02:00
Hugo Schouman
cfa6a217be fix cookies import when create the websocket 2018-09-03 15:51:20 +02:00
Erik Little
520ff72395
Be sure to keep secure config even if config is changed. Fix #1078 2018-08-30 09:14:34 -04:00
Erik Little
25df8b66fc
Don't need to write DispatchTime 2018-08-29 10:25:09 -04:00
Erik Little
d632135289
use while let instead of while and if let 2018-08-28 10:46:52 -04:00
Erik Little
165ec25713
Add isBinary property to SocketPacket.PacketType 2018-07-29 10:23:41 -04:00
Erik Little
6db5348daa
use AnyObject over class in protocols 2018-07-27 08:42:30 -04:00
Erik Little
9bf073156f
fix tab issue 2018-07-21 10:39:27 -04:00
Erik Little
95aa544275
Merge pull request #1058 from OneSman7/support-cookies-for-web-socket
Added passing cookies from long polling session to web scoket
2018-07-18 10:47:50 -04:00
Erasov Ivan
eab73c81a7 Fixed a typo 2018-07-18 17:01:50 +03:00
Erasov Ivan
cfc01ac9fc Code style fixes 2018-07-18 16:59:34 +03:00
Erasov Ivan
64d2527190 Added passing cookies from long polling session to web scoket 2018-07-18 15:23:10 +03:00
Erik Little
0a7e1f4185
don't bind error when we're not pattern matching 2018-06-07 07:58:11 -04:00
Erik Little
5fdff65281
Clarify comments to explain why we did the move 2018-06-07 07:15:43 -04:00
Erasov Ivan
feb476c76b Added comments to document changes reasons 2018-06-07 13:42:13 +03:00
Erasov Ivan
b258a93750 Fixed loosing POST packets on web socket connection failure and engine memory leak on server errors. 2018-06-07 13:13:44 +03:00
Erik Little
4ea1bb9c43
Add note about manager not being thread safe 2018-05-10 07:46:38 -04:00
Erik Little
c3cabe43bf
Make it clear that handleQueue should be serial 2018-05-10 07:29:39 -04:00
Erik Little
6ff403fad1
remove some redundant connected checking 2018-04-02 11:36:20 -04:00
Erik Little
b73afe0da9
get rid of internal emitAck method 2018-04-01 18:48:15 -04:00
Erik Little
be43b0ab3c
open engine 2018-03-31 11:16:58 -04:00
Erik Little
24f3106fe7
Add raw view to ack emitter 2018-03-30 14:56:19 -04:00
Erik Little
1b6144a78c
change access level to public for raw view 2018-03-30 14:39:31 -04:00
Erik Little
948ea5fa00
rename SocketBinaryView 2018-03-30 14:37:15 -04:00
Erik Little
d21a65e117
Add rawEmitView. Implements #992 2018-03-30 14:33:18 -04:00
Erik Little
4564aebec1
Add way to skip binary inspection.
Still a WIP. ACKs still don't have a way to bypass
2018-03-30 14:16:54 -04:00
Erik Little
d24e8f83c6
Set reconnectAttempts in manager. Fixes #989 2018-03-30 09:40:19 -04:00
Erik Little
07c3678ea9
Remove MARK: for websockets methods 2018-03-02 11:33:46 -05:00
Erik Little
ef02247a0c
Use callbacks instead of delegate methods for Starscream 2018-03-02 11:28:35 -05:00
Erik Little
d811b194eb
Fix exclusive access issue 2018-03-01 10:15:28 -05:00
Erik Little
9b10cab925
Execute acks sync. Implement #950 2018-02-11 17:16:15 -05:00
Henri Salminen
8df1a12412 Fixes build warnings caused by documentation issues. 2018-01-30 14:28:58 +02:00
Erik Little
4ec634ccfd
Merge branch 'master' of https://github.com/slidoooor/socket.io-client-swift into development
* 'master' of https://github.com/slidoooor/socket.io-client-swift:
  fix insert invoked twice
2018-01-10 08:11:17 -05:00
slidoooor
fa7fcc8c3b fix insert invoked twice 2018-01-10 13:21:30 +08:00
Erik Little
8eca6249c0
add , to disconnect 2018-01-07 18:23:36 -05:00
Erik Little
658d5f5b71
Fix #923 2018-01-07 12:24:20 -05:00
Erik Little
9224e2b3e6
update reconnect documentation 2018-01-05 09:25:54 -05:00