Closed roblatour closed 5 years ago
Have you tried with the whole project at https://github.com/vtortola/WebSocketListener/tree/master/samples/WebSocketEventListener ?
That project was using a previous version of WebSocketListener (2.1.3 according to packages.config), you should not get those compilation errors with that version.
Yes - that is where I got the sample from. I did not however try it with the older (2.1.3) version rather I was using the current version (3.0). Reverting to the older version did remove the compile errors, but the sample is still not reporting messages from wss://stream.pushbullet.com/websocket/xxxxxxxxx.
The wss://stream.pushbullet.com/websocket/xxxxxxxxx service does seem to be working correctly when tested with http://jsfiddle.net/pushbullet/u92DA/
In order to use secure websockets you need to setup a certificate, either through WebSocketListener WSS support or using a reverse proxy with SSL termination
The reason why is not working in your setup may vary. Try it locally first.
thanks - I'm going to have to do some more home-work.
attempting to use the example here there are a couple compiler errors that get thrown, these are:
and
I tried replacing them with:
but the program doesn't seem to work while listening to wss://stream.pushbullet.com/websocket/xxxxxxxxx
so maybe I have the changes wrong?
In any case, any help would be appreciated.