Open om-ha opened 2 years ago
If protocol is wss instead of https, then secure is not set to true.
wss
https
secure
https://github.com/socketio/socket.io-client-swift/blob/a1ed825835a2d8c2555938e96557ccc05e4bebf3/Source/SocketIO/Manager/SocketManager.swift#L569-L570
This should be:
if socketURL.absoluteString.hasPrefix("https://") || socketURL.absoluteString.hasPrefix("wss://") { _config.insert(.secure(true))
If protocol is
wss
instead ofhttps
, thensecure
is not set to true.https://github.com/socketio/socket.io-client-swift/blob/a1ed825835a2d8c2555938e96557ccc05e4bebf3/Source/SocketIO/Manager/SocketManager.swift#L569-L570
This should be: