Thanks in advance but can anyone provide some guidance how I would use sockjs-erlang together with the Yaws Web Server. I have found some material on sockjs and cowboy but none on Yaws.
Thanks
Thanks in advance but can anyone provide some guidance how I would use sockjs-erlang together with the Yaws Web Server. I have found some material on sockjs and cowboy but none on Yaws.
Thanks
Have a look at the yaws websocket documentation:
http://yaws.hyber.org/websockets.yaws
Also checkout this project:
https://github.com/sockjs/sockjs-erlang
sockjs-erlang works with Cowboy but it could be ported to Yaws. I didn't dig through the codebase, but assuming they aren't making many calls Cowboy, it should be relatively straightforward to port the library.
Hope this helps!