Following javascript client instructions here:
https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/3.x/docs/javascript-client.md
I got this error on my firefox
Uncaught ReferenceError: GosSocket is not defined
This the final html I have (simplified at maximum) is this:
<title>Welcome!</title>
<script src="/bundles/goswebsocket/js/vendor/autobahn.min.js"></script>
<script src="/bundles/goswebsocket/js/websocket.min.js"></script>
<script>
var websocket = GosSocket.connect('ws://127.0.0.1:8080');
</script>
Following javascript client instructions here:
https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/3.x/docs/javascript-client.md
I got this error on my firefox
Uncaught ReferenceError: GosSocket is not defined
This the final html I have (simplified at maximum) is this:
<title>Welcome!</title> <script src="/bundles/goswebsocket/js/vendor/autobahn.min.js"></script> <script src="/bundles/goswebsocket/js/websocket.min.js"></script> <script> var websocket = GosSocket.connect('ws://127.0.0.1:8080'); </script>