Comments (6)
I also don't appear to be able to connect to a namespace, which I am able to do with the Socket.IO JS client. Again, I'm not sure if that's an as-of-yet unwritten feature or if I'm using the library wrong
from socketio.
Hi @thessem, did you open a namespace on server side, like below example?
https://github.com/zyxar/socketio/blob/master/example_test.go#L94
from socketio.
Thanks for getting back to me. I am not using https://github.com/zyxar/socketio server code, my server is https://github.com/googollee/go-socket.io. The server definitely has namespaces working correctly as they are usable using the https://socket.io/ (v1.4) client library.
If I get some time this week I will attempt an end-to-end example. Would you still consider it a bug if it does not replicate using https://github.com/zyxar/socketio as both the client and the server?
from socketio.
I guess so.
Will look into this later :)
from socketio.
I suspect this is a socket.io version thing.
My use case here is that I'm using your library to unit test an existing go-socket.io server. My work around was to set the namespace in each test for both the client and the server to "/" in which case everything seems to work. So, this isn't a production bug for me, and I have an at least an inelegant workaround.
Also, I'd just like to say thanks for your library, I tried a few other golang socket.io client libraries and none of them even slightly worked for my usecase.
from socketio.
Closing because I no longer use this library (changed jobs)
from socketio.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socketio.