We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
URL property of Websocket is used in browser. I hope there is a way to set the URL based on server-url.
More specifically, I hope that at least the following are taken into account:
location.host
location.hostname
location.protocol
wss
ws
src/lib/components/WebSocket.react.js
url = url? url : "ws://" + location.host + location.pathname + "ws"; this.client = new WebSocket(url, protocols);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
URL property of Websocket is used in browser.
I hope there is a way to set the URL based on server-url.
More specifically, I hope that at least the following are taken into account:
location.host
location.hostname
to have a websocket server in other portlocation.protocol
to distinguish betweenwss
andws
src/lib/components/WebSocket.react.js
The text was updated successfully, but these errors were encountered: