We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With client-side JavaScript: var socket = io('http://127.0.0.1:8080', { path: '/myapp/notify' })
var socket = io('http://127.0.0.1:8080', { path: '/myapp/notify' })
But I can't find path option in this library. In API documents, I saw: h.connect("http://127.0.0.1:8080") without path option.
h.connect("http://127.0.0.1:8080")
Because my socket.io server deploy on a sub-domain with NginX. On server-side: var io = require('socket.io')(http, { path: '/myapp/notify' });
var io = require('socket.io')(http, { path: '/myapp/notify' });
So my question is: How use option path like socket.io-client for JavaScript?
The text was updated successfully, but these errors were encountered:
Did we get an answer on this? Or is this not supported?
Sorry, something went wrong.
I can confirm that this is officially not supported by this library due to the following line:
https://github.com/socketio/socket.io-client-cpp/blob/master/src/internal/sio_client_impl.cpp#L218
I was hit by this today. Kinda annoying...
No branches or pull requests
With client-side JavaScript:
var socket = io('http://127.0.0.1:8080', { path: '/myapp/notify' })
But I can't find path option in this library. In API documents, I saw:
h.connect("http://127.0.0.1:8080")
without path option.Because my socket.io server deploy on a sub-domain with NginX. On server-side:
var io = require('socket.io')(http, { path: '/myapp/notify' });
So my question is: How use option path like socket.io-client for JavaScript?
The text was updated successfully, but these errors were encountered: