jmesnil / stomp-websocket

Stomp client for Web browsers and node.js apps
http://jmesnil.net/stomp-websocket/doc/
Apache License 2.0
1.43k stars 586 forks source link

TypeError: undefined is not a constructor (evaluating 'new WebSocketClient()') #148

Open t3rraform opened 6 years ago

t3rraform commented 6 years ago

TypeError: undefined is not a constructor (evaluating 'new WebSocketClient()') I have tried with Stomp.over(), Stomp.client() aswell

let ws = Stomp.overWS('ws://localhost:8080);

    ws.connect({},function (frame) {
        console.log("connected:" + frame)
    });