402 Commits

Author SHA1 Message Date
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
Erik Little
f74eb8c88a
Fix #894 2017-12-20 07:11:31 -05:00
Erik Little
a611aee899
Fix #882. Don't automatically remove sockets from nsps since they might be used again 2017-11-28 08:10:45 -05:00
Erik Little
f0ac68e369
simplify ranges 2017-11-23 11:37:31 -05:00
Erik Little
3df5d6d0b4
Just use one boolean to determine polling/ws 2017-11-18 10:19:51 -05:00
Erik Little
ef2228cf29
use addHeaders 2017-11-17 14:11:03 -05:00
Erik Little
3525caedd1
Implement #684 2017-11-14 10:18:49 -05:00
Erik Little
943e94ed0e
Fix some documentation marks 2017-11-14 08:18:07 -05:00
Erik Little
05943767e5
Fix #865 2017-11-14 07:16:44 -05:00
Erik Little
fa34cd9be5
Fix documentation 2017-11-12 12:36:11 -05:00
Erik Little
3595662729
don't return optional from defaultSocket 2017-11-12 10:32:59 -05:00
Erik Little
d251b4de87
Fix #855 2017-11-08 08:17:36 -05:00
Erik Little
5cfc97386a
refactor SocketIOClient.handlePacket 2017-10-25 08:16:44 -04:00
Erik Little
cf597ae09d
Don't use NSDictionary in definitions 2017-10-22 10:26:16 -04:00
Erik Little
535f1700bf
nsp should be readonly now 2017-10-21 18:02:56 -04:00
Erik Little
5b52edd880
Add SocketManager for multiplexing namespaces 2017-10-21 17:17:29 -04:00
Erik Little
1ed87e571d
Change sentPing/gotPong to ping/pong since those are already reserved 2017-10-14 10:28:14 -04:00
Erik Little
bb1618faaf
Fix comment 2017-10-14 10:17:04 -04:00