Shaojie Hong
354ed7e5e4
Update SocketEngine.swift
...
Fix the issue where it takes over 60 seconds to close the socket after a network disconnection, and the problem where the server-side socket takes over 30 seconds to close when the server ends a connection
2024-05-09 16:58:16 +08:00
Erik Little
332a25f241
update to newer starscream
2023-08-25 10:40:32 -04:00
George Navarro
45cc6b9728
Added a useCustomEngine option to control if WebSocket is initialized to use the custom engine or native URLSession web tasks.
2022-07-25 18:13:20 -07:00
Wyatt Mufson
9609774b3a
Fix swift warnings
2021-06-17 11:38:43 -04:00
Erik Little
2913751beb
update docs, remove other prints
2021-01-27 13:40:07 -05:00
Erik Little
1c2af5a60f
remove print
2021-01-27 13:24:42 -05:00
Erik Little
fde88c10c5
Support both v2 and v3
2021-01-27 13:22:14 -05:00
Erik Little
21290f5752
Start working on migration guide
2020-11-07 19:19:06 -05:00
Erik Little
c6a6d952e6
Better timeouts
2020-11-07 16:03:29 -05:00
Erik Little
6cd8f79e8b
Support socket.io 3 + starscream 4
2020-11-07 15:13:52 -05:00
Serhii Alpieiev
1db9232d71
Fixed endless reconnection loop
2019-09-07 18:07:19 +03:00
Erik Little
5dcfe18748
bump version and docs
2019-05-28 09:09:24 -04:00
Erik Little
c1744e9e6f
Merge pull request #1049 from pdupris/enableSOCKSProxy
...
Add enableSOCKSProxy option to pass to Starscream WebSockets
2019-05-28 08:50:11 -04:00
Erik Little
44682659b6
fix #1178
2019-03-28 07:11:35 -04:00
Erik Little
7219906306
swift 5
2019-03-26 12:20:34 -04:00
Andy
fc4e1802f6
call closeOutEngine to clean up after a ping timeout
2019-02-11 19:01:43 +00: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
Erik Little
e877bb26c3
check for 200 status code when polling #857
2018-10-02 07:53:36 -04: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
25df8b66fc
Don't need to write DispatchTime
2018-08-29 10:25:09 -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
Peter Dupris
b48f1e9af5
expose Starscream WebSocket enableSOCKSProxy option to socket.io-client-swift options
2018-06-27 19:35:52 -07: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
be43b0ab3c
open engine
2018-03-31 11:16:58 -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
Henri Salminen
8df1a12412
Fixes build warnings caused by documentation issues.
2018-01-30 14:28:58 +02: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
d251b4de87
Fix #855
2017-11-08 08:17:36 -05:00
Erik Little
cf597ae09d
Don't use NSDictionary in definitions
2017-10-22 10:26:16 -04:00
Erik Little
5b52edd880
Add SocketManager for multiplexing namespaces
2017-10-21 17:17:29 -04:00
Erik Little
bb1618faaf
Fix comment
2017-10-14 10:17:04 -04:00
Erik Little
c03fc96f04
Add ability to track ping/pongs
2017-10-14 10:15:36 -04:00
Erik Little
07dc3e4040
bump starscream version
2017-10-07 11:12:47 -04:00
Erik Little
fb02d154e1
Go back to Starscream 2.1.1
...
Add objc
Fix some warnings
2017-10-01 08:36:13 -04:00