Closed arvryna closed 7 years ago
This is a base RFC 6455 conforming WebSocket library and since the spec doesn't have the notation of namespaces, neither does this library. That would be something you would need to build on top of this library. I assume from you referencing @nuclearace you are using the Socket.io client, which has the concept of namespaces. https://github.com/socketio/socket.io-client-swift
Yes, I think so. That being said, we don't maintain any of them, so I can't speak to any of them. I would suggest search Github and using your favorite.
@acmacalister : Thanks man 👍
I would like to do the following.
//Establish socket connection with server var parentSocket = Create a socket connection to a URL : http://myapp.com
//Create multiple namespaces and manage their life cycle (associated with parent connection) like mentioned below var ns1 = parentSocket.createNameSpace('/ns1') emit and recieve ping/pongs in ns1 recieve message in ns1 close ns1 when needed
--
CC: @nuclearace
Thanks in advance.