You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is actually not this library's fault: swift's built in base64EncodedString function does not right-pad the base 64 string (which is standard), and this leads to several compatibility issues not only for socketIO (An example StackOverflow issue).
I use Swift's socketIO as the client and a python socketIO server. The python base64 library strictly follows the standard, so it throws an error at Swift SocketIO's base64 message. This is my original discussion thread under the python socketIO repo and the author's reply.
Therefore, I think the Swift SocketIO library can manually add right padding after calling the built-in base64EncodedString function.
The text was updated successfully, but these errors were encountered:
This is actually not this library's fault: swift's built in
base64EncodedString
function does not right-pad the base 64 string (which is standard), and this leads to several compatibility issues not only for socketIO (An example StackOverflow issue).I use Swift's socketIO as the client and a python socketIO server. The python base64 library strictly follows the standard, so it throws an error at Swift SocketIO's base64 message. This is my original discussion thread under the python socketIO repo and the author's reply.
Therefore, I think the Swift SocketIO library can manually add right padding after calling the built-in
base64EncodedString
function.The text was updated successfully, but these errors were encountered: